isBeforeYear method

bool isBeforeYear(
  1. DayDart d
)

相同 end 之前 start

Implementation

/// 之前 start
bool isBeforeYear(DayDart d) {
  return $y < d.$y;
}