yearStart property
Minimum days in the first week of year.
This affects the calculation of the first week number:
- ISO 8601 standard uses 4 (first week must contain at least 4 days)
- US convention uses 1 (first week starts on January 1st)
Default is 1.
Implementation
@override
int get yearStart => _validatedLocaleInt(
_yearStart ?? _base.yearStart,
field: 'yearStart',
min: 1,
max: 7,
);