Uses of Class
com.ibm.icu.util.GlobalizationPreferences
Packages that use GlobalizationPreferences
-
Uses of GlobalizationPreferences in com.ibm.icu.util
Classes in com.ibm.icu.util that implement interfaces with type arguments of type GlobalizationPreferencesModifier and TypeClassDescriptionclassThis convenience class provides a mechanism for bundling together different globalization preferences.Methods in com.ibm.icu.util that return GlobalizationPreferencesModifier and TypeMethodDescriptionGlobalizationPreferences.cloneAsThawed()GlobalizationPreferences.freeze()GlobalizationPreferences.reset()Restore the object to the initial state.GlobalizationPreferences.setBreakIterator(int type, BreakIterator iterator) Explicitly set the break iterator for this object.GlobalizationPreferences.setCalendar(Calendar calendar) Sets the calendar.GlobalizationPreferences.setCollator(Collator collator) Explicitly set the collator for this object.GlobalizationPreferences.setCurrency(Currency currency) Sets the currency code.GlobalizationPreferences.setDateFormat(int dateStyle, int timeStyle, DateFormat format) Set an explicit date format.Convenience routine for setting the language/locale priority list from a single locale/language.GlobalizationPreferences.setLocales(ULocale[] uLocales) Convenience routine for setting the language/locale priority list from an array.GlobalizationPreferences.setLocales(String acceptLanguageString) Convenience routine for setting the locale priority list from an Accept-Language string.GlobalizationPreferences.setLocales(List<ULocale> inputLocales) Sets the language/locale priority list.GlobalizationPreferences.setNumberFormat(int style, NumberFormat format) Sets a number format explicitly.GlobalizationPreferences.setTerritory(String territory) Sets the territory, which is a valid territory according to for RFC 3066 (or successor).GlobalizationPreferences.setTimeZone(TimeZone timezone) Sets the timezone ID.