Package | Description |
---|---|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Method | Description |
---|---|---|
ULocale.Builder |
ULocale.Builder.addUnicodeLocaleAttribute(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(String attribute) |
Removes a unicode locale attribute, if present, otherwise has no
effect.
|
ULocale.Builder |
ULocale.Builder.setExtension(char key,
String value) |
Sets the extension for the given key.
|
ULocale.Builder |
ULocale.Builder.setLanguage(String language) |
Sets the language.
|
ULocale.Builder |
ULocale.Builder.setLanguageTag(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(String region) |
Sets the region.
|
ULocale.Builder |
ULocale.Builder.setScript(String script) |
Sets the script.
|
ULocale.Builder |
ULocale.Builder.setUnicodeLocaleKeyword(String key,
String type) |
Sets the Unicode locale keyword type for the given key.
|
ULocale.Builder |
ULocale.Builder.setVariant(String variant) |
Sets the variant.
|
Copyright ? 2016 Unicode, Inc. and others.