DateSymbols constructor

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

Implementation

DateSymbols(
    {this.NAME,
    this.ERAS,
    this.ERANAMES,
    this.NARROWMONTHS,
    this.STANDALONENARROWMONTHS,
    this.MONTHS,
    this.STANDALONEMONTHS,
    this.SHORTMONTHS,
    this.STANDALONESHORTMONTHS,
    this.WEEKDAYS,
    this.STANDALONEWEEKDAYS,
    this.SHORTWEEKDAYS,
    this.STANDALONESHORTWEEKDAYS,
    this.NARROWWEEKDAYS,
    this.STANDALONENARROWWEEKDAYS,
    this.SHORTQUARTERS,
    this.QUARTERS,
    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.
    this.DATEFORMATS,
    this.TIMEFORMATS,
    this.AVAILABLEFORMATS,
    this.FIRSTDAYOFWEEK,
    this.WEEKENDRANGE,
    this.FIRSTWEEKCUTOFFDAY,
    this.DATETIMEFORMATS});