Represents a locale.
Creates a Locale
The language or the full lang-country string.
Optional
The country.
Static
Returns the current Locale.
The current Locale.
Set current Locale to given parameter.
Returns the country code.
The country code.
Creates a Intl.Locale instance.
Intl.Locale
Returns the language code in 2 alphabetic characters format.
The language code.
The locale string.
e.g. de-DE or de if no country is present.
Checks if country is present.
true if country has non empty value.
Represents a locale.