date_symbol_data_file library
This file should be imported, along with date_format.dart in order to read locale data from files in the file system.
Properties
-
availableLocalesForDateFormatting
→ List<
String> -
Hard-coded list of all available locales for dates.
final
Functions
-
initializeDateFormatting(
String locale, String filePath) → Future< void> -
This should be called for at least one
locale
before any date formatting methods are called. It sets up the lookup for date symbols usingpath
. Thepath
parameter should end with a directory separator appropriate for the platform.