|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormatSettingsManager
Persistent storage and retrieval of format settings. Implementations should return a default value if no configuration currently exists.
| Method Summary | |
|---|---|
String |
getDateFormat()
Returns the formatting pattern used for dates. |
String |
getDateTimeFormat()
Returns the formatting pattern used for date and time together. |
String |
getDayFormat()
Deprecated. since 3.5 this simply redirects to getDateFormat. Previously defaulted to "MMM dd" |
String |
getDecimalNumberFormat()
Returns the formatting pattern used for decimal numbers. |
String |
getEditorBlogPostDate()
Returns the date time format for the editor blog post date |
String |
getLongNumberFormat()
Returns the formatting pattern used for integer numbers. |
String |
getTimeFormat()
Returns the formatting pattern used for times. |
void |
setDateFormat(String pattern)
Stores the formatting pattern to be used for dates. |
void |
setDateTimeFormat(String pattern)
Stores the formatting pattern to be used for date and time together. |
void |
setDayFormat(String pattern)
Deprecated. since 3.5 dayFormat is no longer supported |
void |
setDecimalNumberFormat(String pattern)
Stores the formatting pattern to be used for decimal numbers. |
void |
setLongNumberFormat(String pattern)
Stores the formatting pattern to be used for integer numbers. |
void |
setTimeFormat(String pattern)
Stores the formatting pattern to be used for times. |
| Method Detail |
|---|
String getDateFormat()
void setDateFormat(String pattern)
pattern - a pattern compatible with SimpleDateFormatString getTimeFormat()
void setTimeFormat(String pattern)
pattern - a pattern compatible with SimpleDateFormatString getDateTimeFormat()
@Deprecated String getDayFormat()
getDateFormat().
@Deprecated void setDayFormat(String pattern)
getDateFormat().
getDayFormat()void setDateTimeFormat(String pattern)
pattern - a pattern compatible with SimpleDateFormatString getLongNumberFormat()
void setLongNumberFormat(String pattern)
pattern - a pattern compatible with DecimalFormatString getDecimalNumberFormat()
String getEditorBlogPostDate()
void setDecimalNumberFormat(String pattern)
pattern - a pattern compatible with DecimalFormat
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||