Java.Util.Locale: Method Members

The methods of Java.Util.Locale are listed below. For a list of all members, see the Locale Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Clone() : Java.Lang.Object
Creates and returns a copy of this Object.
static
ForLanguageTag(string) : Locale
Returns a locale for a given BCP-47 language tag.
static
GetAvailableLocales() : Locale[]
Returns the system's installed locales.
GetDisplayCountry(Locale) : string
Returns the name of this locale's country, localized to locale.
GetDisplayLanguage(Locale) : string
Returns the name of this locale's language, localized to locale.
GetDisplayName(Locale) : string
Returns this locale's language name, country name, and variant, localized to locale.
GetDisplayScript(Locale) : string
Returns the name of this locale's script code, localized to Java.Util.Locale.
GetDisplayVariant(Locale) : string
Returns the full variant name in the specified Locale for the variant code of this Locale.
GetExtension(char) : string
Returns the BCP-47 extension whose key is extensionKey, or null if this locale does not contain the extension.
static
GetISOCountries() : string[]
Returns an array of strings containing all the two-letter ISO 3166 country codes that can be used as the country code when constructing a Locale.
static
GetISOLanguages() : string[]
Returns an array of strings containing all the two-letter ISO 639-1 language codes that can be used as the language code when constructing a Locale.
GetUnicodeLocaleType(string) : string
Returns the type for the specified unicode locale extension key.
ToLanguageTag() : string
Returns a well formed BCP-47 language tag that identifies this locale.
override
ToString() : string
Returns the string representation of this Locale.