public final class DataFormatOptions extends Object
Constructor and Description |
---|
DataFormatOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getDateFormat()
Returns the global date format.
|
String |
getDateTimeFormat()
Returns the global date and time format.
|
String |
getDecimalSymbol()
Returns the decimal symbol.
|
Locale |
getLocale()
Returns the locale.
|
String |
getTimeFormat()
Returns the global time format.
|
void |
setDateFormat(String dateFormat)
Configures the global date format.
|
void |
setDateTimeFormat(String dateTimeFormat)
Configures the global date and time format.
|
void |
setDecimalSymbol(String decimalSymbol)
Configures the decimal symbol.
|
void |
setLocale(Locale locale)
Configures the locale.
|
void |
setTimeFormat(String timeFormat)
Configures the global time format.
|
public String getDecimalSymbol()
setDecimalSymbol(String)
public void setDecimalSymbol(String decimalSymbol)
getDecimalSymbol()
public String getDateFormat()
setDateFormat(String)
public void setDateFormat(String dateFormat)
DefaultDataTypes.DATE
public String getDateTimeFormat()
setDateTimeFormat(String)
public void setDateTimeFormat(String dateTimeFormat)
DefaultDataTypes.DATE_TIME
public String getTimeFormat()
setTimeFormat(String)
public void setTimeFormat(String timeFormat)
DefaultDataTypes.TIME
public Locale getLocale()
public void setLocale(Locale locale)