org.outerj.i18n
Class JdkI18nSupport
java.lang.Object
org.outerj.i18n.I18nSupport
org.outerj.i18n.JdkI18nSupport
- public class JdkI18nSupport
- extends I18nSupport
Implementation of IcuSupport that uses standard JDK methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdkI18nSupport
public JdkI18nSupport()
power
public java.math.BigDecimal power(java.math.BigDecimal value1,
java.math.BigDecimal value2)
- Specified by:
power
in class I18nSupport
remainder
public java.math.BigDecimal remainder(java.math.BigDecimal value1,
java.math.BigDecimal value2)
- Specified by:
remainder
in class I18nSupport
getNumberFormat
public DecimalFormat getNumberFormat(java.util.Locale locale)
- Specified by:
getNumberFormat
in class I18nSupport
getIntegerFormat
public DecimalFormat getIntegerFormat(java.util.Locale locale)
- Specified by:
getIntegerFormat
in class I18nSupport
getCurrencyFormat
public DecimalFormat getCurrencyFormat(java.util.Locale locale)
- Specified by:
getCurrencyFormat
in class I18nSupport
getPercentFormat
public DecimalFormat getPercentFormat(java.util.Locale locale)
- Specified by:
getPercentFormat
in class I18nSupport
getDateFormat
public DateFormat getDateFormat(int style,
java.util.Locale locale)
- Specified by:
getDateFormat
in class I18nSupport
getTimeFormat
public DateFormat getTimeFormat(int style,
java.util.Locale locale)
- Specified by:
getTimeFormat
in class I18nSupport
getDateTimeFormat
public DateFormat getDateTimeFormat(int dateStyle,
int timeStyle,
java.util.Locale locale)
- Specified by:
getDateTimeFormat
in class I18nSupport