org.pentaho.reporting.libraries.formula
Class DefaultLocalizationContext
java.lang.Object
org.pentaho.reporting.libraries.formula.DefaultLocalizationContext
- All Implemented Interfaces:
- Serializable, LocalizationContext
public class DefaultLocalizationContext
- extends Object
- implements LocalizationContext, Serializable
- See Also:
- Serialized Form
DefaultLocalizationContext
public DefaultLocalizationContext()
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface LocalizationContext
getBundle
public ResourceBundle getBundle(String id)
- Specified by:
getBundle
in interface LocalizationContext
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interface LocalizationContext
getDateFormats
public List<DateFormat> getDateFormats(Type type)
- Specified by:
getDateFormats
in interface LocalizationContext
getNumberFormats
public List<NumberFormat> getNumberFormats()
- Specified by:
getNumberFormats
in interface LocalizationContext
initialize
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config)
initialize
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config,
Locale locale,
TimeZone timeZone)