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()
FormatSettingsManager
getDateFormat
in interface FormatSettingsManager
public void setDateFormat(String pattern)
FormatSettingsManager
setDateFormat
in interface FormatSettingsManager
pattern
- a pattern compatible with SimpleDateFormat
public String getTimeFormat()
FormatSettingsManager
getTimeFormat
in interface FormatSettingsManager
public void setTimeFormat(String pattern)
FormatSettingsManager
setTimeFormat
in interface FormatSettingsManager
pattern
- a pattern compatible with SimpleDateFormat
public String getDateTimeFormat()
FormatSettingsManager
getDateTimeFormat
in interface FormatSettingsManager
public String getEditorBlogPostDate()
FormatSettingsManager
getEditorBlogPostDate
in interface FormatSettingsManager
public void setDateTimeFormat(String pattern)
FormatSettingsManager
setDateTimeFormat
in interface FormatSettingsManager
pattern
- a pattern compatible with SimpleDateFormat
public String getLongNumberFormat()
FormatSettingsManager
getLongNumberFormat
in interface FormatSettingsManager
public void setLongNumberFormat(String pattern)
FormatSettingsManager
setLongNumberFormat
in interface FormatSettingsManager
pattern
- a pattern compatible with DecimalFormat
public String getDecimalNumberFormat()
FormatSettingsManager
getDecimalNumberFormat
in interface FormatSettingsManager
public void setDecimalNumberFormat(String pattern)
FormatSettingsManager
setDecimalNumberFormat
in interface FormatSettingsManager
pattern
- a pattern compatible with DecimalFormat
Copyright © 2003–2019 Atlassian. All rights reserved.