Uses of Class com.ibm.icu.util.ULocale

Uses in package com.ibm.icu.util

Constructors with parameter type com.ibm.icu.util.ULocale

Constructs a BuddhistCalendar based on the current time in the given time zone with the given locale.
Constructs a BuddhistCalendar based on the current time in the default time zone with the given locale.
Constructs a calendar with the specified time zone and locale.
Construct a Chinese calendar with the given time zone and locale.
Constructs a CopticCalendar based on the current time in the given time zone with the given locale.
Constructs a CopticCalendar based on the current time in the default time zone with the given locale.
Constructs a EthiopicCalendar based on the current time in the given time zone with the given locale.
Constructs a EthiopicCalendar based on the current time in the default time zone with the given locale.
Constructs a GregorianCalendar based on the current time in the given time zone with the given locale.
Constructs a GregorianCalendar based on the current time in the default time zone with the given locale.
Constructs a HebrewCalendar based on the current time in the given time zone with the given locale.
Constructs a HebrewCalendar based on the current time in the default time zone with the given locale.
Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.
Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.
Constructs a JapaneseCalendar based on the current time in the given time zone with the given locale.
Constructs a JapaneseCalendar based on the current time in the default time zone with the given locale.

Fields of type com.ibm.icu.util.ULocale

ULocale
Useful constant for country/region.
ULocale
Useful constant for country/region.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
The root ULocale.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for language.
ULocale
Useful constant for country/region.
ULocale
Useful constant for country/region.

Methods with parameter type com.ibm.icu.util.ULocale

ULocale
ULocale.acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, boolean[] fallback)
Based on a HTTP formatted list of acceptable locales, determine an available locale for the user.
ULocale
ULocale.acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback)
Based on an ordered array of acceptable locales, determine an available locale for the user.
ULocale
ULocale.acceptLanguage(ULocale[] acceptLanguageList, ULocale[] availableLocales, boolean[] fallback)
Based on a list of acceptable locales, determine an available locale for the user.
void
UResourceBundle.addToCache(ClassLoader cl, String fullName, ULocale defaultLocale, UResourceBundle b)
UResourceBundle
UResourceBundle.getBundleInstance(String baseName, ULocale locale)
Creates a UResourceBundle, from which users can extract resources by using their corresponding keys.
UResourceBundle
UResourceBundle.getBundleInstance(String baseName, ULocale locale, ClassLoader loader)
Creates a UResourceBundle, from which users can extract resources by using their corresponding keys.
UResourceBundle
Creates a UResourceBundle for the locale specified, from which users can extract resources by using their corresponding keys.
DateFormat
Calendar.getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc)
Return a DateFormat appropriate to this calendar.
String
ULocale.getDisplayCountry(String localeID, ULocale displayLocale)
Returns a locale's country localized for display in the provided locale.
String
Returns this locale's country localized for display in the provided locale.
String
ULocale.getDisplayKeyword(String keyword, ULocale displayLocale)
Returns a keyword localized for display in the specified locale.
String
ULocale.getDisplayKeywordValue(String localeID, String keyword, ULocale displayLocale)
Returns a keyword value localized for display in the specified locale.
String
ULocale.getDisplayKeywordValue(String keyword, ULocale displayLocale)
Returns a keyword value localized for display in the specified locale.
String
ULocale.getDisplayLanguage(String localeID, ULocale displayLocale)
Returns a locale's language localized for display in the provided locale.
String
Returns this locale's language localized for display in the provided locale.
String
ULocale.getDisplayName(String localeID, ULocale displayLocale)
Returns the locale ID localized for display in the provided locale.
String
TimeZone.getDisplayName(boolean daylight, int style, ULocale locale)
Returns a name of this time zone suitable for presentation to the user in the specified locale.
String
Return the name of this calendar in the language of the given locale.
String
Return the name of this holiday in the language of the specified locale The name parameter passed to this object's constructor is used as a key to look up the holiday's localized name in a ResourceBundle object named HolidayBundle.
String
Returns a name of this time zone suitable for presentation to the user in the specified locale.
String
Returns this locale name localized for display in the provided locale.
String
ULocale.getDisplayScript(String localeID, ULocale displayLocale)
Returns a locale's script localized for display in the provided locale.
String
Returns this locale's script localized for display in the provided locale.
String
ULocale.getDisplayVariant(String localeID, ULocale displayLocale)
Returns a locale's variant localized for display in the provided locale.
String
Returns this locale's variant localized for display in the provided locale.
UnicodeSet
LocaleData.getExemplarSet(ULocale locale, int options)
Returns the set of exemplar characters for a locale.
Holiday[]
Calendar
Gets a calendar with the specified time zone and locale.
Calendar
Gets a calendar using the default time zone and specified locale.
Currency
Returns a currency object for the default currency in the given locale.
LocaleData
Gets the LocaleData object associated with the ULocale specified in locale
LocaleData.MeasurementSystem
Returns the measurement system used in the locale specified by the locale.
String
Currency.getName(ULocale locale, int nameStyle, boolean[] isChoiceFormat)
Returns the display name for the given currency in the given locale.
LocaleData.PaperSize
Returns the size of paper used in the locale.
String
Convenience and compatibility override of getName that requests the symbol name.
DateFormat
Calendar.handleGetDateFormat(String pattern, ULocale locale)
Create a DateFormat appropriate to this calendar.
DateFormat
ChineseCalendar.handleGetDateFormat(String pattern, ULocale locale)
Framework method to create a calendar-specific DateFormat object using the the given pattern.
UResourceBundle
UResourceBundle.loadFromCache(ClassLoader cl, String fullName, ULocale defaultLocale)
String
Currency.parse(ULocale locale, String text, ParsePosition pos)
Attempt to parse the given string as a currency, either as a display name in the given locale, or as a 3-letter ISO 4217 code.
Object
Registers a new currency for the provided locale.
GlobalizationPreferences
Set the date locale.
void
Sets the default ULocale.
GlobalizationPreferences
Convenience routine for setting the language/locale priority list from a single locale/language.
GlobalizationPreferences
Convenience routine for setting the language/locale priority list from an array.
GlobalizationPreferences
Set the number locale.

Methods with return type com.ibm.icu.util.ULocale

ULocale
ULocale.acceptLanguage(String acceptLanguageList, boolean[] fallback)
Based on a HTTP formatted list of acceptable locales, determine an available locale for the user.
ULocale
ULocale.acceptLanguage(String acceptLanguageList, ULocale[] availableLocales, boolean[] fallback)
Based on a HTTP formatted list of acceptable locales, determine an available locale for the user.
ULocale
ULocale.acceptLanguage(ULocale[] acceptLanguageList, boolean[] fallback)
Based on an ordered array of acceptable locales, determine an available locale for the user.
ULocale
ULocale.acceptLanguage(ULocale[] acceptLanguageList, ULocale[] availableLocales, boolean[] fallback)
Based on a list of acceptable locales, determine an available locale for the user.
ULocale
ULocale.createCanonical(String nonCanonicalID)
Create a ULocale from the id by first canonicalizing the id.
ULocale
ULocale.forLocale(Locale loc)
Return a ULocale object for a Locale.
ULocale[]
Returns a list of all installed locales.
ULocale[]
Gets the list of locales for which Calendars are installed.
ULocale[]
Return an array of the ulocales for which a currency is defined.
ULocale
Gets the date locale, to be used in computing date formats.
ULocale
Returns the current default ULocale.
ULocale
Returns the fallback locale for this locale.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Convenience function for getting the locales in priority order
ULocale
Get the current number locale setting used for getNumberFormat.
ULocale
Returns the RFC 3066 conformant locale id of this resource bundle.
ULocale
ULocale.setKeywordValue(String keyword, String value)
Given a keyword and a value, return a new locale with an updated keyword and value.

Uses in package com.ibm.icu.lang

Methods with parameter type com.ibm.icu.util.ULocale

int[]
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name.
String
UCharacter.toLowerCase(ULocale locale, String str)
Gets lowercase version of the argument string.
String
UCharacter.toTitleCase(ULocale locale, String str, BreakIterator titleIter)
Gets the titlecase version of the argument string.

Position for titlecasing is determined by the argument break iterator, hence the user can customized his break iterator for a specialized titlecasing.

String
UCharacter.toUpperCase(ULocale locale, String str)
Gets uppercase version of the argument string.

Uses in package com.ibm.icu.text

Constructors with parameter type com.ibm.icu.util.ULocale

ChineseDateFormat.ChineseDateFormat(String pattern, ULocale locale)
Construct a ChineseDateFormat from a date format pattern and locale
Construct a ChineseDateFormatSymbols for the provided calendar and locale.
Construct a ChineseDateFormatSymbols for the provided locale.
DateFormatSymbols.DateFormatSymbols(Class calendarClass, ULocale locale)
Variant of DateFormatSymbols(Calendar, ULocale) that takes the Calendar class instead of a Calandar instance.
DateFormatSymbols.DateFormatSymbols(ResourceBundle bundle, ULocale locale)
Fetch a custom calendar's DateFormatSymbols out of the given resource bundle.
Get the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.
Construct a DateFormatSymbols object by loading format data from resources for the given ulocale.
Create a DecimalFormatSymbols object for the given locale.
MessageFormat.MessageFormat(String pattern, ULocale locale)
Constructs a MessageFormat for the specified locale and pattern.
RuleBasedNumberFormat.RuleBasedNumberFormat(String description, String[][] localizations, ULocale locale)
Creates a RuleBasedNumberFormat that behaves according to the description passed in.
Creates a RuleBasedNumberFormat that behaves according to the description passed in.
Creates a RuleBasedNumberFormat from a predefined description.
SimpleDateFormat.SimpleDateFormat(String pattern, DateFormatSymbols formatData, ULocale loc)
Construct a SimpleDateFormat using the given pattern and locale.
StringSearch.StringSearch(String pattern, CharacterIterator target, ULocale locale)
Initializes the iterator to use the language-specific rules and break iterator rules defined in the argument locale to search for argument pattern in the argument target text.

Methods with parameter type com.ibm.icu.util.ULocale

Collator
Return an instance of the appropriate collator.
NumberFormat
Returns a number format of the appropriate type.
BreakIterator
Returns a new instance of BreakIterator that locates logical-character boundaries.
MeasureFormat
Return a formatter for CurrencyAmount objects in the given locale.
NumberFormat
Returns a currency format for the specified locale.
ResourceBundle
DateFormatSymbols.getDateFormatBundle(Class calendarClass, ULocale locale)
Find the ResourceBundle containing the date format information for a specified calendar subclass in a given locale.
ResourceBundle
Variant of getDateFormatBundle(java.lang.Class, java.util.Locale) that takes a Calendar instance instead of a Calendar class.
DateFormat
DateFormat.getDateInstance(Calendar cal, int dateStyle, ULocale locale)
Create a DateFormat object that can be used to format dates in the calendar system specified by cal.
DateFormat
DateFormat.getDateInstance(int style, ULocale locale)
Gets the date formatter with the given formatting style for the given locale.
DateFormat
DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale)
Create a DateFormat object that can be used to format dates and times in the calendar system specified by cal.
DateFormat
DateFormat.getDateTimeInstance(int dateStyle, int timeStyle, ULocale locale)
Gets the date/time formatter with the given formatting styles for the given locale.
String
Transliterator.getDisplayName(String id, ULocale inLocale)
Returns a name for this transliterator that is appropriate for display to the user in the given locale.
String
Get the name of the collator for the objectLocale, localized for the current locale.
String
Collator.getDisplayName(ULocale objectLocale, ULocale displayLocale)
Get the name of the collator for the objectLocale, localized for the displayLocale.
String
Return the name of the collator for the objectLocale, localized for the displayLocale.
ULocale
Collator.getFunctionalEquivalent(String keyword, ULocale locID)
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
ULocale
Collator.getFunctionalEquivalent(String keyword, ULocale locID, isAvailable[] )
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
DateFormat
Convenience overload
Collator
Gets the Collator for the desired locale.
NumberFormat
Returns the default number format for the specified locale.
NumberFormat
Returns an integer number format for the specified locale.
BreakIterator
Returns a new instance of BreakIterator that locates legal line- wrapping positions.
NumberFormat
Returns a general-purpose number format for the specified locale.
String
NumberFormat.getPattern(ULocale forLocale, int choice)
Returns the pattern for the provided locale and choice.
NumberFormat
Returns a percentage format for the specified locale.
String
Return the rule set display name for the provided rule set and locale.
String[]
Return the rule set display names for the provided locale.
NumberFormat
NEW Returns a scientific format for the specified locale.
BreakIterator
Returns a new instance of BreakIterator that locates sentence boundaries.
DateFormat
DateFormat.getTimeInstance(Calendar cal, int timeStyle, ULocale locale)
Create a DateFormat object that can be used to format times in the calendar system specified by cal.
DateFormat
DateFormat.getTimeInstance(int style, ULocale locale)
Gets the time formatter with the given formatting style for the given locale.
BreakIterator
Returns a new instance of BreakIterator that locates title boundaries.
BreakIterator
Returns a new instance of BreakIterator that locates word boundaries.
void
DateFormatSymbols.initializeData(ULocale desiredLocale, String type)
void
ChineseDateFormatSymbols.initializeData(ULocale loc, com.ibm.icu.impl.CalendarData calData)
void
DateFormatSymbols.initializeData(ULocale desiredLocale, com.ibm.icu.impl.CalendarData calData)
Object
Register a new break iterator of the indicated kind, to use in the given locale.
Object
Register a collator as the default collator for the provided locale.
void
Sets the locale to be used when creating or comparing subformats.

Methods with return type com.ibm.icu.util.ULocale

ULocale[]
Returns a list of locales for which BreakIterators can be used.
ULocale[]
Get the set of locales, as ULocale objects, for which collators are installed.
ULocale[]
Gets the set of locales for which DateFormats are installed.
ULocale[]
Get the list of Locales for which NumberFormats are available.
ULocale
Collator.getFunctionalEquivalent(String keyword, ULocale locID)
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
ULocale
Collator.getFunctionalEquivalent(String keyword, ULocale locID, isAvailable[] )
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Return the locale that was used to create this object, or null.
ULocale
Return the locale that was used to create this object, or null.
ULocale[]
Return a list of locales for which there are locale-specific display names for the rule sets in this formatter.
ULocale
Returns the locale for which this object was constructed.
ULocale
Gets the locale that's used when creating or comparing subformats.

Copyright (c) 2006 IBM Corporation and others.