dateSymbols property

DateSymbols dateSymbols

Return the DateSymbol 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, returns null.

Implementation

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