public abstract class LocaleContext extends Object
| Modifier | Constructor and Description | 
|---|---|
| protected  | LocaleContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ResourceBundle | getBundle(String baseBundleName)Returns the resource bundle with the specified name, for this
 translation locale. | 
| abstract char | getDecimalSeparator()Returns the character used as a decimal separator. | 
| abstract String | getFormattingIANALocaleString()Returns the formatting Locale in IANA String format. | 
| abstract Locale | getFormattingLocale()Returns the locale that should be used for formatting. | 
| abstract char | getGroupingSeparator()Returns the character used to separate number groups. | 
| String | getIANALocaleString()Deprecated. 
 use getFormattingIANALocaleString() | 
| Locale | getLocale()Deprecated. 
 use getFormattingLocale() | 
| abstract TimeZone | getTimeZone()Returns the TimeZone of the application, as specified in 
 trinidad-config.xml. | 
| abstract String | getTranslationIANALocaleString()Returns the translation Locale in IANA String format. | 
| abstract Locale | getTranslationLocale()Returns the locale that should be used for translations.. | 
| abstract int | getTwoDigitYearStart()Returns the year offset for parsing years with only two digits. | 
| abstract boolean | isRightToLeft() | 
public abstract Locale getFormattingLocale()
public abstract String getFormattingIANALocaleString()
@Deprecated public Locale getLocale()
@Deprecated public String getIANALocaleString()
public abstract Locale getTranslationLocale()
public abstract String getTranslationIANALocaleString()
public abstract boolean isRightToLeft()
public abstract TimeZone getTimeZone()
public abstract ResourceBundle getBundle(String baseBundleName) throws MissingResourceException
 As the LocaleContext maintains a cache of found ResourceBundles,
 this is much faster than using
 ResourceBundle.getBundle
 
MissingResourceExceptionResourceBundle.getBundle(java.lang.String)public abstract int getTwoDigitYearStart()
public abstract char getGroupingSeparator()
public abstract char getDecimalSeparator()
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.