initializeDateFormatting function

Future initializeDateFormatting ([String locale, String ignored ])

This should be called for at least one locale before any date formatting methods are called. It sets up the lookup for date symbols. Both the locale and ignored parameter are ignored, as the data for all locales is directly available.

Implementation

Future initializeDateFormatting([String locale, String ignored]) {
  initializeDateSymbols(dateTimeSymbolMap);
  initializeDatePatterns(dateTimePatternMap);
  return new Future.value(null);
}