dateSymbols property

DateSymbols dateSymbols

Return the DateSymbols information for the locale.

This can be useful to find lists like the names of weekdays or months in a locale, but the structure of this data may change, and it's generally better to go through the format and parse APIs.

If the locale isn't present, or is uninitialized, throws.

Implementation

DateSymbols get dateSymbols {
  if (_locale != lastDateSymbolLocale) {
    lastDateSymbolLocale = _locale;
    cachedDateSymbols = dateTimeSymbols[_locale];
  }
  return cachedDateSymbols!;
}