| Package | Description |
|---|---|
| java.lang |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.nio.charset | |
| java.text | |
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| Modifier and Type | Method and Description |
|---|---|
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this
String to lower
case using the rules of the given Locale. |
String |
String.toUpperCase(Locale locale)
Converts all of the characters in this
String to upper
case using the rules of the given Locale. |
| Modifier and Type | Method and Description |
|---|---|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
| Modifier and Type | Method and Description |
|---|---|
static Locale[] |
NumberFormat.getAvailableLocales()
Returns an array of all locales for which the
get*Instance methods of this class can return
localized instances. |
static Locale[] |
DecimalFormatSymbols.getAvailableLocales()
Returns an array of all locales for which the
getInstance methods of this class can return
localized instances. |
static Locale[] |
DateFormatSymbols.getAvailableLocales()
Returns an array of all locales for which the
getInstance methods of this class can return
localized instances. |
static Locale[] |
DateFormat.getAvailableLocales()
Returns an array of all locales for which the
get*Instance methods of this class can return
localized instances. |
Locale |
MessageFormat.getLocale()
Gets the locale that's used when creating or comparing subformats.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberFormat |
NumberFormat.getCurrencyInstance(Locale inLocale)
Returns a currency format for the specified locale.
|
static DateFormat |
DateFormat.getDateInstance(int style,
Locale aLocale)
Gets the date formatter with the given formatting style
for the given locale.
|
static DateFormat |
DateFormat.getDateTimeInstance(int dateStyle,
int timeStyle,
Locale aLocale)
Gets the date/time formatter with the given formatting styles
for the given locale.
|
static NumberFormat |
NumberFormat.getInstance(Locale inLocale)
Returns a general-purpose number format for the specified locale.
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(Locale locale)
Gets the
DecimalFormatSymbols instance for the specified
locale. |
static DateFormatSymbols |
DateFormatSymbols.getInstance(Locale locale)
Gets the
DateFormatSymbols instance for the specified
locale. |
static NumberFormat |
NumberFormat.getIntegerInstance(Locale inLocale)
Returns an integer number format for the specified locale.
|
static NumberFormat |
NumberFormat.getNumberInstance(Locale inLocale)
Returns a general-purpose number format for the specified locale.
|
static NumberFormat |
NumberFormat.getPercentInstance(Locale inLocale)
Returns a percentage format for the specified locale.
|
static DateFormat |
DateFormat.getTimeInstance(int style,
Locale aLocale)
Gets the time formatter with the given formatting style
for the given locale.
|
void |
MessageFormat.setLocale(Locale locale)
Sets the locale to be used when creating or comparing subformats.
|
| Constructor and Description |
|---|
DateFormatSymbols(Locale locale)
Construct a DateFormatSymbols object by loading format data from
resources for the given locale.
|
DecimalFormatSymbols(Locale locale)
Create a DecimalFormatSymbols object for the given locale.
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and
pattern.
|
SimpleDateFormat(String pattern,
Locale locale)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
| Modifier and Type | Field and Description |
|---|---|
static Locale |
Locale.CANADA
Useful constant for country.
|
static Locale |
Locale.CANADA_FRENCH
Useful constant for country.
|
static Locale |
Locale.ENGLISH
Useful constant for language.
|
static Locale |
Locale.FRANCE
Useful constant for country.
|
static Locale |
Locale.FRENCH
Useful constant for language.
|
static Locale |
Locale.GERMAN
Useful constant for language.
|
static Locale |
Locale.GERMANY
Useful constant for country.
|
static Locale |
Locale.CHINA
Useful constant for country.
|
static Locale |
Locale.CHINESE
Useful constant for language.
|
static Locale |
Locale.ITALIAN
Useful constant for language.
|
static Locale |
Locale.ITALY
Useful constant for country.
|
static Locale |
Locale.JAPAN
Useful constant for country.
|
static Locale |
Locale.JAPANESE
Useful constant for language.
|
static Locale |
Locale.KOREA
Useful constant for country.
|
static Locale |
Locale.KOREAN
Useful constant for language.
|
static Locale |
Locale.PRC
Useful constant for country.
|
static Locale |
Locale.ROOT
Useful constant for the root locale.
|
static Locale |
Locale.SIMPLIFIED_CHINESE
Useful constant for language.
|
static Locale |
Locale.TAIWAN
Useful constant for country.
|
static Locale |
Locale.TRADITIONAL_CHINESE
Useful constant for language.
|
static Locale |
Locale.UK
Useful constant for country.
|
static Locale |
Locale.US
Useful constant for country.
|
| Modifier and Type | Method and Description |
|---|---|
static Locale[] |
Locale.getAvailableLocales()
Returns an array of all installed locales.
|
static Locale[] |
Calendar.getAvailableLocales()
Returns an array of all locales for which the
getInstance
methods of this class can return localized instances. |
static Locale |
Locale.getDefault()
Gets the current value of the default locale for this instance
of the Java Virtual Machine.
|
static Locale |
Locale.getDefault(Locale.Category category)
Gets the current value of the default locale for the specified Category
for this instance of the Java Virtual Machine.
|
Locale |
ResourceBundle.Control.getFallbackLocale(String baseName,
Locale locale)
Returns a
Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method. |
Locale |
ResourceBundle.getLocale()
Returns the locale of this resource bundle.
|
| Modifier and Type | Method and Description |
|---|---|
List<Locale> |
ResourceBundle.Control.getCandidateLocales(String baseName,
Locale locale)
Returns a
List of Locales as candidate
locales for baseName and locale. |
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ClassLoader loader,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale and control, and the caller's class loader.
|
List<Locale> |
ResourceBundle.Control.getCandidateLocales(String baseName,
Locale locale)
Returns a
List of Locales as candidate
locales for baseName and locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the specified locale. |
String |
Calendar.getDisplayName(int field,
int style,
Locale locale)
Returns the string representation of the calendar
field value in the given style and
locale. |
String |
TimeZone.getDisplayName(Locale locale)
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the specified locale. |
String |
Currency.getDisplayName(Locale locale)
Gets the name that is suitable for displaying this currency for
the specified locale.
|
Map<String,Integer> |
Calendar.getDisplayNames(int field,
int style,
Locale locale)
Returns a
Map containing all names of the calendar
field in the given style and
locale and their corresponding field values. |
Locale |
ResourceBundle.Control.getFallbackLocale(String baseName,
Locale locale)
Returns a
Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method. |
static Currency |
Currency.getInstance(Locale locale)
Returns the
Currency instance for the country of the
given locale. |
static Calendar |
Calendar.getInstance(Locale aLocale)
Gets a calendar using the default time zone and specified locale.
|
static Calendar |
Calendar.getInstance(TimeZone zone,
Locale aLocale)
Gets a calendar with the specified time zone and locale.
|
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
|
long |
ResourceBundle.Control.getTimeToLive(String baseName,
Locale locale)
Returns the time-to-live (TTL) value for resource bundles that
are loaded under this
ResourceBundle.Control. |
boolean |
ResourceBundle.Control.needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
Determines if the expired
bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria. |
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
static void |
Locale.setDefault(Locale newLocale)
Sets the default locale for this instance of the Java Virtual Machine.
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
| Constructor and Description |
|---|
Calendar(TimeZone zone,
Locale aLocale)
Constructs a calendar with the specified time zone and locale.
|
Copyright © 2015 API Design. All Rights Reserved.