getCountry()
:
String
Returns the uppercase ISO 3166 2-letter country/region code for this Locale.
getDisplayCountry()
:
String
Returns the display name of this Locale's country, in this Locale's language, not in the session locale's language.
getDisplayLanguage()
:
String
Returns the display name of this Locale's language, in this Locale's language, not in the session locale's language.
getDisplayName()
:
String
Returns the display name of this Locale, in this Locale's language, not in the session locale's language.
getID()
:
String
Returns the String representation of the localeID.
getISO3Country()
:
String
Returns the uppercase ISO 3166 3-letter country/region code for this Locale.
static getLocale(localeId
:
String)
:
Locale
Returns a Locale instance for the given localeId, or null
if no such Locale could be found.
toString()
:
String
Returns the String representation of the localeID.
getCountry
Returns the uppercase ISO 3166 2-letter country/region code for this Locale.
If no country has been specified for this Locale, this value is an empty string.
Returns:
the uppercase ISO 3166 2-letter country/region code for this Locale. If no country has been specified for this Locale, this value is an empty string.
getDisplayCountry
Returns the display name of this Locale's country, in this Locale's language,
not in the session locale's language.
If no country has been specified for this Locale, this value is an empty string.
Returns:
the display name of this Locale's country, in this Locale's language. If no country has been specified for this Locale, this value is an empty string.
getDisplayLanguage
Returns the display name of this Locale's language, in this Locale's language,
not in the session locale's language.
If no country has been specified for this Locale, this value is an empty string.
Returns:
the display name of this Locale's language, in this Locale's language. If no language has been specified for this Locale, this value is an empty string.
getDisplayName
Returns the display name of this Locale, in this Locale's language,
not in the session locale's language.
If no display name has been specified for this Locale, this value is an empty string.
Returns:
the display name of this Locale, in this Locale's language. If no display name has been specified for this Locale, this value is an empty string.
getID
Returns the String representation of the localeID.
Combines the language and the country key, concatenated with "_".
For example: "en_US". This attribute is the primary key of the class.
Returns:
the String representation of the localeID.
getISO3Country
Returns the uppercase ISO 3166 3-letter country/region code for this Locale.
If no country has been specified for this Locale, this value is an empty string.
Returns:
the uppercase ISO 3166 3-letter country/region code for this Locale. If no country has been specified for this Locale, this value is an empty string.
getISO3Language
Returns the 3-letter ISO 639 language code for this Locale.
If no language has been specified for this Locale, this value is an empty string.
Returns:
the 3-letter ISO 639 language code for this Locale. If no language has been specified for this Locale, this value is an empty string.
getLanguage
Returns the lowercase ISO 639 language code for this Locale.
If no language has been specified for this Locale, this value is an empty string.
Returns:
the lowercase ISO 639 language code for this Locale. If no language has been specified for this Locale, this value is an empty string.
getLocale
Returns a Locale instance for the given localeId, or
null
if no such Locale could be found.
Parameters:
localeId
-
the localeID of the desired Locale
Returns:
the Locale instance for the given localeId, or null
if no such Locale could be found.
toString
Returns the String representation of the localeID.
Combines the language and the country key, concatenated with "_".
For example: "en_US". This attribute is the primary key of the class.
Returns:
the String representation of the localeID.