DateSymbols constructor

DateSymbols(
  1. {required String NAME,
  2. required List<String> ERAS,
  3. required List<String> ERANAMES,
  4. required List<String> NARROWMONTHS,
  5. required List<String> STANDALONENARROWMONTHS,
  6. required List<String> MONTHS,
  7. required List<String> STANDALONEMONTHS,
  8. required List<String> SHORTMONTHS,
  9. required List<String> STANDALONESHORTMONTHS,
  10. required List<String> WEEKDAYS,
  11. required List<String> STANDALONEWEEKDAYS,
  12. required List<String> SHORTWEEKDAYS,
  13. required List<String> STANDALONESHORTWEEKDAYS,
  14. required List<String> NARROWWEEKDAYS,
  15. required List<String> STANDALONENARROWWEEKDAYS,
  16. required List<String> SHORTQUARTERS,
  17. required List<String> QUARTERS,
  18. required List<String> AMPMS,
  19. String? ZERODIGIT,
  20. required List<String> DATEFORMATS,
  21. required List<String> TIMEFORMATS,
  22. Map<String, String>? AVAILABLEFORMATS,
  23. required int FIRSTDAYOFWEEK,
  24. required List<int> WEEKENDRANGE,
  25. required int FIRSTWEEKCUTOFFDAY,
  26. 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});