DateSymbols constructor
DateSymbols({ - required String NAME,
- required List<String> ERAS,
- required List<String> ERANAMES,
- required List<String> NARROWMONTHS,
- required List<String> STANDALONENARROWMONTHS,
- required List<String> MONTHS,
- required List<String> STANDALONEMONTHS,
- required List<String> SHORTMONTHS,
- required List<String> STANDALONESHORTMONTHS,
- required List<String> WEEKDAYS,
- required List<String> STANDALONEWEEKDAYS,
- required List<String> SHORTWEEKDAYS,
- required List<String> STANDALONESHORTWEEKDAYS,
- required List<String> NARROWWEEKDAYS,
- required List<String> STANDALONENARROWWEEKDAYS,
- required List<String> SHORTQUARTERS,
- required List<String> QUARTERS,
- required List<String> AMPMS,
- String? ZERODIGIT,
- required List<String> DATEFORMATS,
- required List<String> TIMEFORMATS,
- Map<String, String>? AVAILABLEFORMATS,
- required int FIRSTDAYOFWEEK,
- required List<int> WEEKENDRANGE,
- required int FIRSTWEEKCUTOFFDAY,
- required List<String> DATETIMEFORMATS,
})
Implementation
DateSymbols(
{required this.NAME,
required this.ERAS,
required this.ERANAMES,
required this.NARROWMONTHS,
required this.STANDALONENARROWMONTHS,
required this.MONTHS,
required this.STANDALONEMONTHS,
required this.SHORTMONTHS,
required this.STANDALONESHORTMONTHS,
required this.WEEKDAYS,
required this.STANDALONEWEEKDAYS,
required this.SHORTWEEKDAYS,
required this.STANDALONESHORTWEEKDAYS,
required this.NARROWWEEKDAYS,
required this.STANDALONENARROWWEEKDAYS,
required this.SHORTQUARTERS,
required this.QUARTERS,
required this.AMPMS,
this.ZERODIGIT,
// TODO(alanknight): These formats are taken from Closure,
// where there's only a fixed set of available formats.
// Here we have the patterns separately. These should
// either be used, or removed.
required this.DATEFORMATS,
required this.TIMEFORMATS,
this.AVAILABLEFORMATS,
required this.FIRSTDAYOFWEEK,
required this.WEEKENDRANGE,
required this.FIRSTWEEKCUTOFFDAY,
required this.DATETIMEFORMATS});