public final class MPXJFormats extends Object
| Constructor and Description |
|---|
MPXJFormats(Locale locale,
String nullText,
ProjectFile file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
getCurrencyFormat()
Retrieve the currency format.
|
DateFormat |
getDateFormat()
Retrieve the date format.
|
DateFormat |
getDateTimeFormat()
Retrieve the date time format.
|
NumberFormat |
getDecimalFormat()
Retrieve the decimal format.
|
NumberFormat |
getDurationDecimalFormat()
Retrieve the duration decimal format.
|
String |
getNullText()
Retrieve the text representing a null value.
|
NumberFormat |
getPercentageDecimalFormat()
Retrieve the percentage decimal format.
|
DateFormat |
getTimeFormat()
Retrieve the time format.
|
NumberFormat |
getUnitsDecimalFormat()
Retrieve the units decimal format.
|
void |
update()
Called to update the cached formats when something changes.
|
public MPXJFormats(Locale locale, String nullText, ProjectFile file)
locale - target localenullText - locale specific text to represent a value which has not been set, normally "NA"file - parent filepublic void update()
public NumberFormat getUnitsDecimalFormat()
public NumberFormat getDecimalFormat()
public NumberFormat getCurrencyFormat()
public NumberFormat getDurationDecimalFormat()
public NumberFormat getPercentageDecimalFormat()
public DateFormat getDateTimeFormat()
public DateFormat getDateFormat()
public DateFormat getTimeFormat()
public String getNullText()
Copyright © 2013. All Rights Reserved.