The members of Java.Util.Locale are listed below.
See Also: Inherited members from Java.Lang.Object
[read-only] static | Canada | Locale. Locale constant for en_CA. |
[read-only] static | CanadaFrench | Locale. Locale constant for fr_CA. |
[read-only] static | China | Locale. Locale constant for zh_CN. |
[read-only] static | Chinese | Locale. Locale constant for zh. |
[read-only] | Country | string. Returns the country code for this locale, or "" if this locale doesn't correspond to a specific country. |
static | Default | Locale. Returns the user's preferred locale. |
[read-only] | DisplayCountry | string. Equivalent to getDisplayCountry(Locale.getDefault()). |
[read-only] | DisplayLanguage | string. Equivalent to getDisplayLanguage(Locale.getDefault()). |
[read-only] | DisplayName | string. Equivalent to getDisplayName(Locale.getDefault()). |
[read-only] | DisplayScript | string. Equivalent to getDisplayScript(Locale.getDefault())) |
[read-only] | DisplayVariant | string. Returns the full variant name in the default Locale for the variant code of this Locale. |
[read-only] static | English | Locale. Locale constant for en. |
[read-only] | ExtensionKeys | ICollection<Java.Lang.Character>. Returns the set of BCP-47 extensions this locale contains. |
[read-only] static | France | Locale. Locale constant for fr_FR. |
[read-only] static | French | Locale. Locale constant for fr. |
[read-only] static | German | Locale. Locale constant for de. |
[read-only] static | Germany | Locale. Locale constant for de_DE. |
[read-only] | ISO3Country | string. Returns the three-letter ISO 3166 country code which corresponds to the country code for this Locale. |
[read-only] | ISO3Language | string. Returns the three-letter ISO 639-2/T language code which corresponds to the language code for this Locale. |
[read-only] static | Italian | Locale. Locale constant for it. |
[read-only] static | Italy | Locale. Locale constant for it_IT. |
[read-only] static | Japan | Locale. Locale constant for ja_JP. |
[read-only] static | Japanese | Locale. Locale constant for ja. |
[read-only] static | Korea | Locale. Locale constant for ko_KR. |
[read-only] static | Korean | Locale. Locale constant for ko. |
[read-only] | Language | string. Returns the language code for this Locale or the empty string if no language was set. |
[read-only] static | Prc | Locale. Locale constant for zh_CN. |
[read-only] static | PrivateUseExtension | char. BCP-47 extension identifier (or "singleton") for the private use extension. |
[read-only] static | Root | Locale. Locale constant for the root locale. |
[read-only] | Script | string. Returns the script code for this Locale or an empty String if no script was set. |
[read-only] static | SimplifiedChinese | Locale. Locale constant for zh_CN. |
[read-only] static | Taiwan | Locale. Locale constant for zh_TW. |
[read-only] static | TraditionalChinese | Locale. Locale constant for zh_TW. |
[read-only] static | Uk | Locale. Locale constant for en_GB. |
[read-only] | UnicodeLocaleAttributes | ICollection<string>. Returns the set of unicode locale extension attributes this locale contains. |
[read-only] static | UnicodeLocaleExtension | char. BCP-47 extension identifier (or "singleton") for the unicode locale extension. |
[read-only] | UnicodeLocaleKeys | ICollection<string>. Returns the set of unicode locale extension keywords this locale contains. |
[read-only] static | Us | Locale. Locale constant for en_US. |
[read-only] | Variant | string. Returns the variant code for this Locale or an empty String if no variant was set. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Clone()Creates and returns a copy of this Object. | ||
static | ForLanguageTag(string)Returns a locale for a given BCP-47 language tag. | |
static | GetAvailableLocales()Returns the system's installed locales. | |
GetDisplayCountry(Locale)Returns the name of this locale's country, localized to locale. | ||
GetDisplayLanguage(Locale)Returns the name of this locale's language, localized to locale. | ||
GetDisplayName(Locale)Returns this locale's language name, country name, and variant, localized to locale. | ||
GetDisplayScript(Locale)Returns the name of this locale's script code, localized to Java.Util.Locale. | ||
GetDisplayVariant(Locale)Returns the full variant name in the specified Locale for the variant code of this Locale. | ||
GetExtension(char)Returns the BCP-47 extension whose key is extensionKey, or null if this locale does not contain the extension. | ||
static | GetISOCountries()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()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)Returns the type for the specified unicode locale extension key. | ||
ToLanguageTag()Returns a well formed BCP-47 language tag that identifies this locale. | ||
override | ToString()Returns the string representation of this Locale. |