weekSpansYears method
Whether this week spans two calendar years.
Implementation
bool weekSpansYears({WeekConfig config = WeekConfig.iso}) {
_validateWeekConfig(config);
final s = startOfWeek(config: config);
final e = endOfWeek(config: config);
return s.year != e.year;
}