public class TestingFormatSettingsManager extends Object implements FormatSettingsManager
| Constructor and Description |
|---|
TestingFormatSettingsManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDateFormat()
Returns the formatting pattern used for dates.
|
String |
getDateTimeFormat()
Returns the formatting pattern used for date and time together.
|
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 |
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.
|
public String getDateFormat()
FormatSettingsManagergetDateFormat in interface FormatSettingsManagerpublic void setDateFormat(String pattern)
FormatSettingsManagersetDateFormat in interface FormatSettingsManagerpattern - a pattern compatible with SimpleDateFormatpublic String getTimeFormat()
FormatSettingsManagergetTimeFormat in interface FormatSettingsManagerpublic void setTimeFormat(String pattern)
FormatSettingsManagersetTimeFormat in interface FormatSettingsManagerpattern - a pattern compatible with SimpleDateFormatpublic String getDateTimeFormat()
FormatSettingsManagergetDateTimeFormat in interface FormatSettingsManagerpublic String getEditorBlogPostDate()
FormatSettingsManagergetEditorBlogPostDate in interface FormatSettingsManagerpublic void setDateTimeFormat(String pattern)
FormatSettingsManagersetDateTimeFormat in interface FormatSettingsManagerpattern - a pattern compatible with SimpleDateFormatpublic String getLongNumberFormat()
FormatSettingsManagergetLongNumberFormat in interface FormatSettingsManagerpublic void setLongNumberFormat(String pattern)
FormatSettingsManagersetLongNumberFormat in interface FormatSettingsManagerpattern - a pattern compatible with DecimalFormatpublic String getDecimalNumberFormat()
FormatSettingsManagergetDecimalNumberFormat in interface FormatSettingsManagerpublic void setDecimalNumberFormat(String pattern)
FormatSettingsManagersetDecimalNumberFormat in interface FormatSettingsManagerpattern - a pattern compatible with DecimalFormatCopyright © 2003–2022 Atlassian. All rights reserved.