ULocale.Builder |
ULocale.Builder.addUnicodeLocaleAttribute(java.lang.String attribute) |
Adds a unicode locale attribute, if not already present, otherwise
has no effect.
|
ULocale.Builder |
ULocale.Builder.clear() |
Resets the builder to its initial, empty state.
|
ULocale.Builder |
ULocale.Builder.clearExtensions() |
Resets the extensions to their initial, empty state.
|
ULocale.Builder |
ULocale.Builder.removeUnicodeLocaleAttribute(java.lang.String attribute) |
Removes a unicode locale attribute, if present, otherwise has no
effect.
|
ULocale.Builder |
ULocale.Builder.setExtension(char key,
java.lang.String value) |
Sets the extension for the given key.
|
ULocale.Builder |
ULocale.Builder.setLanguage(java.lang.String language) |
Sets the language.
|
ULocale.Builder |
ULocale.Builder.setLanguageTag(java.lang.String languageTag) |
Resets the Builder to match the provided IETF BCP 47
language tag.
|
ULocale.Builder |
ULocale.Builder.setLocale(ULocale locale) |
Resets the Builder to match the provided
locale .
|
ULocale.Builder |
ULocale.Builder.setRegion(java.lang.String region) |
Sets the region.
|
ULocale.Builder |
ULocale.Builder.setScript(java.lang.String script) |
Sets the script.
|
ULocale.Builder |
ULocale.Builder.setUnicodeLocaleKeyword(java.lang.String key,
java.lang.String type) |
Sets the Unicode locale keyword type for the given key.
|
ULocale.Builder |
ULocale.Builder.setVariant(java.lang.String variant) |
Sets the variant.
|