The reference to the current locale.
The current locale.
Adds a new locale under one or many keys.
The locale key or keys.
The locale definition.
Aliases an existing locale with other keys.
The existing locale to alias.
The other keys to use an aliases.
Returns the locale with the given code. If the code does not map to a locale the current locale is returned.
The code to get the locale for.
Normalizes a locale code to a map key.
The code to normalize to a key.
Sets the current locale to the locale with the given key. If no locale exists with the given key, false is returned.
When the global locale changes all Day instances created with an unspecified locale will lazily update their locale-based values when they are accessed following a locale change.
The key of a locale.
True if the locale was found, otherwise false.
The map of locales available.
Generated using TypeDoc
A class for holding all supported locales. You can add your own, add aliases, or set the current locale.