Package | Description |
---|---|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Method and Description |
---|---|
GlobalizationPreferences |
GlobalizationPreferences.cloneAsThawed() |
GlobalizationPreferences |
GlobalizationPreferences.freeze() |
GlobalizationPreferences |
GlobalizationPreferences.reset()
Restore the object to the initial state.
|
GlobalizationPreferences |
GlobalizationPreferences.setBreakIterator(int type,
BreakIterator iterator)
Explicitly set the break iterator for this object.
|
GlobalizationPreferences |
GlobalizationPreferences.setCalendar(Calendar calendar)
Sets the calendar.
|
GlobalizationPreferences |
GlobalizationPreferences.setCollator(Collator collator)
Explicitly set the collator for this object.
|
GlobalizationPreferences |
GlobalizationPreferences.setCurrency(Currency currency)
Sets the currency code.
|
GlobalizationPreferences |
GlobalizationPreferences.setDateFormat(int dateStyle,
int timeStyle,
DateFormat format)
Set an explicit date format.
|
GlobalizationPreferences |
GlobalizationPreferences.setLocale(ULocale uLocale)
Convenience routine for setting the language/locale priority
list from a single locale/language.
|
GlobalizationPreferences |
GlobalizationPreferences.setLocales(List<ULocale> inputLocales)
Sets the language/locale priority list.
|
GlobalizationPreferences |
GlobalizationPreferences.setLocales(String acceptLanguageString)
Convenience routine for setting the locale priority list from
an Accept-Language string.
|
GlobalizationPreferences |
GlobalizationPreferences.setLocales(ULocale[] uLocales)
Convenience routine for setting the language/locale priority
list from an array.
|
GlobalizationPreferences |
GlobalizationPreferences.setNumberFormat(int style,
NumberFormat format)
Sets a number format explicitly.
|
GlobalizationPreferences |
GlobalizationPreferences.setTerritory(String territory)
Sets the territory, which is a valid territory according to for
RFC 3066 (or successor).
|
GlobalizationPreferences |
GlobalizationPreferences.setTimeZone(TimeZone timezone)
Sets the timezone ID.
|
Copyright © 2016 Unicode, Inc. and others.