Locale
Class representing a locale
Constructors
Properties
Property to access Locale.getCountry
Property to access Locale.getLanguage
Creates a locale that is one step less specific than this locale.
Property to access Locale.getScript
Property to access Locale.getVariant
Functions
country/region code for this locale, which should either be the empty string, an uppercase ISO 3166 2-letter code, or a UN M.49 3-digit code.
Returns a name for the locale that is appropriate for display to the user in the language of the locale
Returns the extension (or private use) value associated with the specified key, or null if there is no extension associated with the key.
Returns the set of extension keys associated with this locale, or the empty set if it has no extensions.
Language code.
the variant code for this locale. Can be an empty string
Returns a copy of this (or this itself) Locale with no extensions.