public final class LocaleContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.text.DecimalFormat |
getCurrencyFormatter() |
static java.text.DateFormat |
getDateFormatter() |
static char |
getDecimalGroupSeparator() |
static java.text.DecimalFormat |
getFloatingPointFormatter() |
static java.text.DecimalFormat |
getIntegerFormatter() |
static java.text.DecimalFormat |
getPercentFormatter() |
static void |
setLocale(java.util.Locale locale)
Sets the locale to apply for formatting.
|
public static java.text.DecimalFormat getFloatingPointFormatter()
public static java.text.DecimalFormat getIntegerFormatter()
public static java.text.DecimalFormat getPercentFormatter()
public static java.text.DecimalFormat getCurrencyFormatter()
public static char getDecimalGroupSeparator()
public static java.text.DateFormat getDateFormatter()
public static void setLocale(java.util.Locale locale)
locale
- the locale to apply for formatting.