|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ULocale | |
---|---|
com.ibm.icu.lang | Enhanced character property and surrogate support. |
com.ibm.icu.text | Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. |
com.ibm.icu.util | International calendars and other utility classes. |
Uses of ULocale in com.ibm.icu.lang |
---|
Methods in com.ibm.icu.lang with parameters of type ULocale | |
---|---|
static int[] |
UScript.getCode(ULocale locale)
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
static String |
UCharacter.toLowerCase(ULocale locale,
String str)
Gets lowercase version of the argument string. |
static String |
UCharacter.toTitleCase(ULocale locale,
String str,
BreakIterator titleIter)
Gets the titlecase version of the argument string. |
static String |
UCharacter.toTitleCase(ULocale locale,
String str,
BreakIterator titleIter,
int options)
Gets the titlecase version of the argument string. |
static String |
UCharacter.toUpperCase(ULocale locale,
String str)
Gets uppercase version of the argument string. |
Uses of ULocale in com.ibm.icu.text |
---|
Methods in com.ibm.icu.text that return ULocale | |
---|---|
static ULocale[] |
Collator.getAvailableULocales()
Get the set of locales, as ULocale objects, for which collators are installed. |
static ULocale[] |
DecimalFormatSymbols.getAvailableULocales()
Returns an array of all locales for which the getInstance methods of this
class can return localized instances. |
static ULocale[] |
DateFormat.getAvailableULocales()
Gets the set of locales for which DateFormats are installed. |
static ULocale[] |
NumberFormat.getAvailableULocales()
Get the list of Locales for which NumberFormats are available. |
static ULocale[] |
DateFormatSymbols.getAvailableULocales()
Returns an array of all locales for which the getInstance methods of this
class can return localized instances. |
static ULocale[] |
BreakIterator.getAvailableULocales()
Returns a list of locales for which BreakIterators can be used. |
static 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. |
static ULocale |
Collator.getFunctionalEquivalent(String keyword,
ULocale locID,
boolean[] isAvailable)
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service. |
ULocale |
Collator.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
ULocale |
DecimalFormatSymbols.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
ULocale |
DateFormatSymbols.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
ULocale |
BreakIterator.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
ULocale |
UFormat.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
ULocale[] |
RuleBasedNumberFormat.getRuleSetDisplayNameLocales()
Return a list of locales for which there are locale-specific display names for the rule sets in this formatter. |
ULocale |
DecimalFormatSymbols.getULocale()
Returns the locale for which this object was constructed. |
ULocale |
MessageFormat.getULocale()
Gets the locale that's used when creating or comparing subformats. |
Methods in com.ibm.icu.text with parameters of type ULocale | |
---|---|
Collator |
Collator.CollatorFactory.createCollator(ULocale loc)
Return an instance of the appropriate collator. |
NumberFormat |
NumberFormat.NumberFormatFactory.createFormat(ULocale loc,
int formatType)
Returns a number format of the appropriate type. |
static PluralRules |
PluralRules.forLocale(ULocale locale)
Provides access to the predefined PluralRules for a given
locale. |
static BreakIterator |
BreakIterator.getBreakInstance(ULocale where,
int kind)
Deprecated. This API is ICU internal only. |
static BreakIterator |
BreakIterator.getCharacterInstance(ULocale where)
Returns a new instance of BreakIterator that locates logical-character boundaries. |
static MeasureFormat |
MeasureFormat.getCurrencyFormat(ULocale locale)
Return a formatter for CurrencyAmount objects in the given locale. |
static NumberFormat |
NumberFormat.getCurrencyInstance(ULocale inLocale)
Returns a currency format for the specified locale. |
static ResourceBundle |
DateFormatSymbols.getDateFormatBundle(Calendar cal,
ULocale locale)
Deprecated. ICU 4.0 |
static ResourceBundle |
DateFormatSymbols.getDateFormatBundle(Class calendarClass,
ULocale locale)
Deprecated. ICU 4.0 |
static 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 . |
static DateFormat |
DateFormat.getDateInstance(int style,
ULocale locale)
Gets the date formatter with the given formatting style for the given locale. |
static 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 . |
static DateFormat |
DateFormat.getDateTimeInstance(int dateStyle,
int timeStyle,
ULocale locale)
Gets the date/time formatter with the given formatting styles for the given locale. |
static 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. |
static String |
Collator.getDisplayName(ULocale objectLocale)
Get the name of the collator for the objectLocale, localized for the current locale. |
static String |
Collator.getDisplayName(ULocale objectLocale,
ULocale displayLocale)
Get the name of the collator for the objectLocale, localized for the displayLocale. |
String |
Collator.CollatorFactory.getDisplayName(ULocale objectLocale,
ULocale displayLocale)
Return the name of the collator for the objectLocale, localized for the displayLocale. |
static 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. |
static ULocale |
Collator.getFunctionalEquivalent(String keyword,
ULocale locID,
boolean[] isAvailable)
Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service. |
static DateFormat |
DateFormat.getInstance(Calendar cal,
ULocale locale)
Convenience overload |
static DateIntervalFormat |
DateIntervalFormat.getInstance(String skeleton,
ULocale locale)
Construct a DateIntervalFormat from skeleton and a given locale. |
static DateIntervalFormat |
DateIntervalFormat.getInstance(String skeleton,
ULocale locale,
DateIntervalInfo dtitvinf)
Construct a DateIntervalFormat from skeleton a DateIntervalInfo, and the given locale. |
static Collator |
Collator.getInstance(ULocale locale)
Gets the Collator for the desired locale. |
static DateTimePatternGenerator |
DateTimePatternGenerator.getInstance(ULocale uLocale)
Construct a flexible generator according to data for a given locale. |
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(ULocale locale)
Gets a DecimalFormatSymbols instance for the given locale. |
static NumberFormat |
NumberFormat.getInstance(ULocale inLocale)
Returns the default number format for the specified locale. |
static DateFormatSymbols |
DateFormatSymbols.getInstance(ULocale locale)
Gets a DateFormatSymbols instance for the given locale. |
static DurationFormat |
DurationFormat.getInstance(ULocale locale)
Construct a duration format for the specified locale |
static NumberFormat |
NumberFormat.getIntegerInstance(ULocale inLocale)
Returns an integer number format for the specified locale. |
static BreakIterator |
BreakIterator.getLineInstance(ULocale where)
Returns a new instance of BreakIterator that locates legal line- wrapping positions. |
static NumberFormat |
NumberFormat.getNumberInstance(ULocale inLocale)
Returns a general-purpose number format for the specified locale. |
protected static String |
NumberFormat.getPattern(ULocale forLocale,
int choice)
Returns the pattern for the provided locale and choice. |
static DateFormat |
DateFormat.getPatternInstance(Calendar cal,
String pattern,
ULocale locale)
Create a DateFormat object that can be used to format dates and times in
the calendar system specified by cal . |
static DateFormat |
DateFormat.getPatternInstance(String pattern,
ULocale locale)
Create a DateFormat object that can be used to format dates and times in
the given locale. |
static NumberFormat |
NumberFormat.getPercentInstance(ULocale inLocale)
Returns a percentage format for the specified locale. |
String |
RuleBasedNumberFormat.getRuleSetDisplayName(String ruleSetName,
ULocale loc)
Return the rule set display name for the provided rule set and locale. |
String[] |
RuleBasedNumberFormat.getRuleSetDisplayNames(ULocale loc)
Return the rule set display names for the provided locale. |
static NumberFormat |
NumberFormat.getScientificInstance(ULocale inLocale)
Returns a scientific format for the specified locale. |
static BreakIterator |
BreakIterator.getSentenceInstance(ULocale where)
Returns a new instance of BreakIterator that locates sentence boundaries. |
static 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 . |
static DateFormat |
DateFormat.getTimeInstance(int style,
ULocale locale)
Gets the time formatter with the given formatting style for the given locale. |
static BreakIterator |
BreakIterator.getTitleInstance(ULocale where)
Returns a new instance of BreakIterator that locates title boundaries. |
static BreakIterator |
BreakIterator.getWordInstance(ULocale where)
Returns a new instance of BreakIterator that locates word boundaries. |
protected void |
DateFormatSymbols.initializeData(ULocale desiredLocale,
com.ibm.icu.impl.CalendarData calData)
Deprecated. This API is ICU internal only. |
protected void |
ChineseDateFormatSymbols.initializeData(ULocale loc,
com.ibm.icu.impl.CalendarData calData)
Initialize format symbols for the locale and calendar type |
protected void |
DateFormatSymbols.initializeData(ULocale desiredLocale,
String type)
Initialize format symbols for the locale and calendar type |
static Object |
BreakIterator.registerInstance(BreakIterator iter,
ULocale locale,
int kind)
Register a new break iterator of the indicated kind, to use in the given locale. |
static Object |
Collator.registerInstance(Collator collator,
ULocale locale)
Register a collator as the default collator for the provided locale. |
void |
PluralFormat.setLocale(ULocale ulocale)
Sets the locale used by this PluraFormat object. |
TimeUnitFormat |
TimeUnitFormat.setLocale(ULocale locale)
Set the locale used for formatting or parsing. |
void |
MessageFormat.setLocale(ULocale locale)
Sets the locale to be used when creating or comparing subformats. |
Constructors in com.ibm.icu.text with parameters of type ULocale | |
---|---|
ChineseDateFormat(String pattern,
ULocale locale)
Construct a ChineseDateFormat from a date format pattern and locale |
|
ChineseDateFormatSymbols(Calendar cal,
ULocale locale)
Construct a ChineseDateFormatSymbols for the provided calendar and locale. |
|
ChineseDateFormatSymbols(ULocale locale)
Construct a ChineseDateFormatSymbols for the provided locale. |
|
DateFormatSymbols(Calendar cal,
ULocale locale)
Get the DateFormatSymbols object that should be used to format a
calendar system's dates in the given locale. |
|
DateFormatSymbols(Class calendarClass,
ULocale locale)
Variant of DateFormatSymbols(Calendar, ULocale) that takes the Calendar class instead of a Calandar instance. |
|
DateFormatSymbols(ResourceBundle bundle,
ULocale locale)
Fetch a custom calendar's DateFormatSymbols out of the given resource bundle. |
|
DateFormatSymbols(ULocale locale)
Construct a DateFormatSymbols object by loading format data from resources for the given ulocale. |
|
DateIntervalInfo(ULocale locale)
Construct DateIntervalInfo for the given locale, |
|
DecimalFormatSymbols(ULocale locale)
Create a DecimalFormatSymbols object for the given locale. |
|
DurationFormat(ULocale locale)
Deprecated. This API is ICU internal only. |
|
MessageFormat(String pattern,
ULocale locale)
Constructs a MessageFormat for the specified locale and pattern. |
|
NumberFormat.SimpleNumberFormatFactory(ULocale locale)
Constructs a SimpleNumberFormatFactory with the given locale. |
|
NumberFormat.SimpleNumberFormatFactory(ULocale locale,
boolean visible)
Constructs a SimpleNumberFormatFactory with the given locale and the visibility. |
|
PluralFormat(ULocale ulocale)
Creates a new PluralFormat for a given locale. |
|
PluralFormat(ULocale ulocale,
PluralRules rules)
Creates a new PluralFormat for a given set of rules. |
|
PluralFormat(ULocale ulocale,
PluralRules rules,
String pattern)
Creates a new PluralFormat for a given set of rules, a
pattern and a locale. |
|
PluralFormat(ULocale ulocale,
String pattern)
Creates a new PluralFormat for a given pattern string and
locale. |
|
RuleBasedNumberFormat(String description,
String[][] localizations,
ULocale locale)
Creates a RuleBasedNumberFormat that behaves according to the description passed in. |
|
RuleBasedNumberFormat(String description,
ULocale locale)
Creates a RuleBasedNumberFormat that behaves according to the description passed in. |
|
RuleBasedNumberFormat(ULocale locale,
int format)
Creates a RuleBasedNumberFormat from a predefined description. |
|
SimpleDateFormat(String pattern,
DateFormatSymbols formatData,
ULocale loc)
Deprecated. This API is ICU internal only. |
|
SimpleDateFormat(String pattern,
ULocale loc)
Construct a SimpleDateFormat using the given pattern and locale. |
|
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. |
|
TimeUnitFormat(ULocale locale)
Create TimeUnitFormat given a ULocale. |
Uses of ULocale in com.ibm.icu.util |
---|
Fields in com.ibm.icu.util declared as ULocale | |
---|---|
static ULocale |
ULocale.CANADA
Useful constant for country/region. |
static ULocale |
ULocale.CANADA_FRENCH
Useful constant for country/region. |
static ULocale |
ULocale.CHINA
Useful constant for country/region. |
static ULocale |
ULocale.CHINESE
Useful constant for language. |
static ULocale |
ULocale.ENGLISH
Useful constant for language. |
static ULocale |
ULocale.FRANCE
Useful constant for country/region. |
static ULocale |
ULocale.FRENCH
Useful constant for language. |
static ULocale |
ULocale.GERMAN
Useful constant for language. |
static ULocale |
ULocale.GERMANY
Useful constant for country/region. |
static ULocale |
ULocale.ITALIAN
Useful constant for language. |
static ULocale |
ULocale.ITALY
Useful constant for country/region. |
static ULocale |
ULocale.JAPAN
Useful constant for country/region. |
static ULocale |
ULocale.JAPANESE
Useful constant for language. |
static ULocale |
ULocale.KOREA
Useful constant for country/region. |
static ULocale |
ULocale.KOREAN
Useful constant for language. |
static ULocale |
ULocale.PRC
Useful constant for country/region. |
static ULocale |
ULocale.ROOT
The root ULocale. |
static ULocale |
ULocale.SIMPLIFIED_CHINESE
Useful constant for language. |
static ULocale |
ULocale.TAIWAN
Useful constant for country/region. |
static ULocale |
ULocale.TRADITIONAL_CHINESE
Useful constant for language. |
static ULocale |
ULocale.UK
Useful constant for country/region. |
static ULocale |
ULocale.US
Useful constant for country/region. |
Methods in com.ibm.icu.util that return ULocale | |
---|---|
static ULocale |
ULocale.acceptLanguage(String acceptLanguageList,
boolean[] fallback)
Based on a HTTP formatted list of acceptable locales, determine an available locale for the user. |
static 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. |
static ULocale |
ULocale.acceptLanguage(ULocale[] acceptLanguageList,
boolean[] fallback)
Based on an ordered array of acceptable locales, determine an available locale for the user. |
static ULocale |
ULocale.acceptLanguage(ULocale[] acceptLanguageList,
ULocale[] availableLocales,
boolean[] fallback)
Based on a list of acceptable locales, determine an available locale for the user. |
static ULocale |
ULocale.addLikelySubtag(ULocale loc)
Deprecated. This API is ICU internal only. |
static ULocale |
ULocale.addLikelySubtags(ULocale loc)
Add the likely subtags for a provided locale ID, per the algorithm described in the following CLDR technical report: http://www.unicode.org/reports/tr35/#Likely_Subtags If the provided ULocale instance is already in the maximal form, or there is no data available available for maximization, it will be returned. |
static ULocale |
ULocale.createCanonical(String nonCanonicalID)
Create a ULocale from the id by first canonicalizing the id. |
static ULocale |
ULocale.forLocale(Locale loc)
Return a ULocale object for a Locale . |
static ULocale[] |
ULocale.getAvailableLocales()
Returns a list of all installed locales. |
static ULocale[] |
Currency.getAvailableULocales()
Return an array of the ulocales for which a currency is defined. |
static ULocale[] |
Calendar.getAvailableULocales()
Gets the list of locales for which Calendars are installed. |
static ULocale |
ULocale.getDefault()
Returns the current default ULocale. |
ULocale |
ULocale.getFallback()
Returns the fallback locale for this locale. |
ULocale |
Calendar.FormatConfiguration.getLocale()
Deprecated. This API is ICU internal only. |
ULocale |
GlobalizationPreferences.getLocale(int index)
Convenience function for getting the locales in priority order |
ULocale |
Currency.getLocale(ULocale.Type type)
Deprecated. This API is obsolete. |
ULocale |
Calendar.getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
abstract ULocale |
UResourceBundle.getULocale()
Returns the RFC 3066 conformant locale id of this resource bundle. |
static ULocale |
ULocale.minimizeSubtags(ULocale loc)
Minimize the subtags for a provided locale ID, per the algorithm described in the following CLDR technical report: http://www.unicode.org/reports/tr35/#Likely_Subtags If the provided ULocale instance is already in the minimal form, or there is no data available for minimization, it will be returned. |
ULocale |
ULocale.setKeywordValue(String keyword,
String value)
Given a keyword and a value, return a new locale with an updated keyword and value. |
Methods in com.ibm.icu.util with parameters of type ULocale | |
---|---|
static 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. |
static ULocale |
ULocale.acceptLanguage(ULocale[] acceptLanguageList,
boolean[] fallback)
Based on an ordered array of acceptable locales, determine an available locale for the user. |
static ULocale |
ULocale.acceptLanguage(ULocale[] acceptLanguageList,
ULocale[] availableLocales,
boolean[] fallback)
Based on a list of acceptable locales, determine an available locale for the user. |
static ULocale |
ULocale.acceptLanguage(ULocale[] acceptLanguageList,
ULocale[] availableLocales,
boolean[] fallback)
Based on a list of acceptable locales, determine an available locale for the user. |
static ULocale |
ULocale.addLikelySubtag(ULocale loc)
Deprecated. This API is ICU internal only. |
static ULocale |
ULocale.addLikelySubtags(ULocale loc)
Add the likely subtags for a provided locale ID, per the algorithm described in the following CLDR technical report: http://www.unicode.org/reports/tr35/#Likely_Subtags If the provided ULocale instance is already in the maximal form, or there is no data available available for maximization, it will be returned. |
protected static void |
UResourceBundle.addToCache(ClassLoader cl,
String fullName,
ULocale defaultLocale,
UResourceBundle b)
Deprecated. This API is ICU internal only. |
static String[] |
Currency.getAvailableCurrencyCodes(ULocale loc,
Date d)
Returns an array of Strings which contain the currency identifiers which are valid for the given locale on the given date. |
static UResourceBundle |
UResourceBundle.getBundleInstance(String baseName,
ULocale locale)
Creates a UResourceBundle, from which users can extract resources by using their corresponding keys. |
static UResourceBundle |
UResourceBundle.getBundleInstance(String baseName,
ULocale locale,
ClassLoader loader)
Creates a UResourceBundle, from which users can extract resources by using their corresponding keys. |
static UResourceBundle |
UResourceBundle.getBundleInstance(ULocale locale)
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. |
static String |
ULocale.getDisplayCountry(String localeID,
ULocale displayLocale)
Returns a locale's country localized for display in the provided locale. |
String |
ULocale.getDisplayCountry(ULocale displayLocale)
Returns this locale's country localized for display in the provided locale. |
static String |
ULocale.getDisplayKeyword(String keyword,
ULocale displayLocale)
Returns a keyword localized for display in the specified locale. |
static 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. |
static String |
ULocale.getDisplayLanguage(String localeID,
ULocale displayLocale)
Returns a locale's language localized for display in the provided locale. |
String |
ULocale.getDisplayLanguage(ULocale displayLocale)
Returns this locale's language 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. |
static String |
ULocale.getDisplayName(String localeID,
ULocale displayLocale)
Returns the locale ID localized for display in the provided locale. |
String |
Holiday.getDisplayName(ULocale locale)
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 |
ULocale.getDisplayName(ULocale displayLocale)
Returns this locale name localized for display in the provided locale. |
String |
TimeZone.getDisplayName(ULocale locale)
Returns a name of this time zone suitable for presentation to the user in the specified locale. |
String |
Calendar.getDisplayName(ULocale loc)
Return the name of this calendar in the language of the given locale. |
static String |
ULocale.getDisplayScript(String localeID,
ULocale displayLocale)
Returns a locale's script localized for display in the provided locale. |
String |
ULocale.getDisplayScript(ULocale displayLocale)
Returns this locale's script localized for display in the provided locale. |
static String |
ULocale.getDisplayVariant(String localeID,
ULocale displayLocale)
Returns a locale's variant localized for display in the provided locale. |
String |
ULocale.getDisplayVariant(ULocale displayLocale)
Returns this locale's variant localized for display in the provided locale. |
static UnicodeSet |
LocaleData.getExemplarSet(ULocale locale,
int options)
Returns the set of exemplar characters for a locale. |
static Holiday[] |
Holiday.getHolidays(ULocale locale)
|
static Calendar |
Calendar.getInstance(TimeZone zone,
ULocale locale)
Gets a calendar with the specified time zone and locale. |
static Currency |
Currency.getInstance(ULocale locale)
Returns a currency object for the default currency in the given locale. |
static LocaleData |
LocaleData.getInstance(ULocale locale)
Gets the LocaleData object associated with the ULocale specified in locale |
static Calendar |
Calendar.getInstance(ULocale locale)
Gets a calendar using the default time zone and specified locale. |
static LocaleData.MeasurementSystem |
LocaleData.getMeasurementSystem(ULocale locale)
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. |
static LocaleData.PaperSize |
LocaleData.getPaperSize(ULocale locale)
Returns the size of paper used in the locale. |
String |
Currency.getSymbol(ULocale uloc)
Convenience and compatibility override of getName that requests the symbol name. |
protected DateFormat |
ChineseCalendar.handleGetDateFormat(String pattern,
ULocale locale)
Framework method to create a calendar-specific DateFormat object using the the given pattern. |
protected DateFormat |
Calendar.handleGetDateFormat(String pattern,
ULocale locale)
Create a DateFormat appropriate to this calendar. |
protected static UResourceBundle |
UResourceBundle.loadFromCache(ClassLoader cl,
String fullName,
ULocale defaultLocale)
Deprecated. This API is ICU internal only. |
static ULocale |
ULocale.minimizeSubtags(ULocale loc)
Minimize the subtags for a provided locale ID, per the algorithm described in the following CLDR technical report: http://www.unicode.org/reports/tr35/#Likely_Subtags If the provided ULocale instance is already in the minimal form, or there is no data available for minimization, it will be returned. |
static String |
Currency.parse(ULocale locale,
String text,
ParsePosition pos)
Deprecated. This API is ICU internal only. |
static Object |
Currency.registerInstance(Currency currency,
ULocale locale)
Registers a new currency for the provided locale. |
static void |
ULocale.setDefault(ULocale newLocale)
Sets the default ULocale. |
GlobalizationPreferences |
GlobalizationPreferences.setLocale(ULocale uLocale)
Convenience routine for setting the language/locale priority list from a single locale/language. |
GlobalizationPreferences |
GlobalizationPreferences.setLocales(ULocale[] uLocales)
Convenience routine for setting the language/locale priority list from an array. |
Constructors in com.ibm.icu.util with parameters of type ULocale | |
---|---|
BuddhistCalendar(TimeZone zone,
ULocale locale)
Constructs a BuddhistCalendar based on the current time
in the given time zone with the given locale. |
|
BuddhistCalendar(ULocale locale)
Constructs a BuddhistCalendar based on the current time
in the default time zone with the given locale. |
|
Calendar(TimeZone zone,
ULocale locale)
Constructs a calendar with the specified time zone and locale. |
|
ChineseCalendar(TimeZone zone,
ULocale locale)
Construct a ChineseCalendar based on the current time
with the given time zone with the given locale. |
|
ChineseCalendar(ULocale locale)
Constructs a ChineseCalendar based on the current time
in the default time zone with the given locale. |
|
CopticCalendar(TimeZone zone,
ULocale locale)
Constructs a CopticCalendar based on the current time
in the given time zone with the given locale. |
|
CopticCalendar(ULocale locale)
Constructs a CopticCalendar based on the current time
in the default time zone with the given locale. |
|
EthiopicCalendar(TimeZone zone,
ULocale locale)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale. |
|
EthiopicCalendar(ULocale locale)
Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale. |
|
GregorianCalendar(TimeZone zone,
ULocale locale)
Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. |
|
GregorianCalendar(ULocale locale)
Constructs a GregorianCalendar based on the current time in the default time zone with the given locale. |
|
HebrewCalendar(TimeZone zone,
ULocale locale)
Constructs a HebrewCalendar based on the current time
in the given time zone with the given locale. |
|
HebrewCalendar(ULocale locale)
Constructs a HebrewCalendar based on the current time
in the default time zone with the given locale. |
|
IndianCalendar(TimeZone zone,
ULocale locale)
Constructs a IndianCalendar based on the current time
in the given time zone with the given locale. |
|
IndianCalendar(ULocale locale)
Constructs a IndianCalendar based on the current time
in the default time zone with the given locale. |
|
IslamicCalendar(TimeZone zone,
ULocale locale)
Constructs an IslamicCalendar based on the current time
in the given time zone with the given locale. |
|
IslamicCalendar(ULocale locale)
Constructs an IslamicCalendar based on the current time
in the default time zone with the given locale. |
|
JapaneseCalendar(TimeZone zone,
ULocale locale)
Constructs a JapaneseCalendar based on the current time
in the given time zone with the given locale. |
|
JapaneseCalendar(ULocale locale)
Constructs a JapaneseCalendar based on the current time
in the default time zone with the given locale. |
|
TaiwanCalendar(TimeZone zone,
ULocale locale)
Constructs a TaiwanCalendar based on the current time
in the given time zone with the given locale. |
|
TaiwanCalendar(ULocale locale)
Constructs a TaiwanCalendar based on the current time
in the default time zone with the given locale. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |