localeWeekYear property

int get localeWeekYear

Returns the week year using the locale's week configuration.

Implementation

int get localeWeekYear {
  final config = WeekYearConfig(
    weekStart: locale.weekStart,
    yearStart: locale.yearStart,
  );
  return weekYear(config);
}