Package | Description |
---|---|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Method and Description |
---|---|
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.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 (c) 2011 IBM Corporation and others.