public class FormatUiHelper
extends java.lang.Object
Constructor and Description |
---|
FormatUiHelper() |
FormatUiHelper(java.lang.String shortDatePattern,
java.lang.String longDatePattern,
java.lang.String shortTimePattern,
java.lang.String longTimePattern,
java.lang.String shortDateTimePattern,
java.lang.String longDateTimePattern,
java.lang.String numberPattern,
java.lang.String currencyPattern,
java.lang.String integerPattern,
java.lang.String percentPattern) |
Modifier and Type | Method and Description |
---|---|
NumberFormat |
getCurrencyFormat(java.lang.String currency) |
NumberFormat |
getIntegerFormat() |
DateTimeFormat |
getLongDateFormat() |
DateTimeFormat |
getLongDateTimeFormat() |
DateTimeFormat |
getLongTimeFormat() |
NumberFormat |
getNumberFormat() |
NumberFormat |
getPercentInstance() |
DateTimeFormat |
getShortDateFormat() |
DateTimeFormat |
getShortDateTimeFormat() |
DateTimeFormat |
getShortTimeFormat() |
void |
setFormatPatterns(FormatPatternsDto patterns) |
public FormatUiHelper(java.lang.String shortDatePattern, java.lang.String longDatePattern, java.lang.String shortTimePattern, java.lang.String longTimePattern, java.lang.String shortDateTimePattern, java.lang.String longDateTimePattern, java.lang.String numberPattern, java.lang.String currencyPattern, java.lang.String integerPattern, java.lang.String percentPattern)
public FormatUiHelper()
public void setFormatPatterns(FormatPatternsDto patterns)
public DateTimeFormat getShortDateFormat()
public DateTimeFormat getLongDateFormat()
public DateTimeFormat getShortTimeFormat()
public DateTimeFormat getLongTimeFormat()
public DateTimeFormat getShortDateTimeFormat()
public DateTimeFormat getLongDateTimeFormat()
public NumberFormat getNumberFormat()
public NumberFormat getCurrencyFormat(java.lang.String currency)
public NumberFormat getIntegerFormat()
public NumberFormat getPercentInstance()