java.lang.Object | |
↳ | com.atlassian.confluence.core.DefaultFormatSettingsManager |
Implementation of FormatSettingsManager
which persists the date format settings in Bandana.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the formatting pattern used for dates.
| |||||||||||
Returns the formatting pattern used for date and time together.
| |||||||||||
This method is deprecated.
since 3.5 this simply redirects to getDateFormat. Previously defaulted to "MMM dd"
| |||||||||||
Returns the formatting pattern used for decimal numbers.
| |||||||||||
Returns the date time format for the editor blog post date
| |||||||||||
Returns the formatting pattern used for integer numbers.
| |||||||||||
Returns the formatting pattern used for times.
| |||||||||||
Stores the formatting pattern to be used for dates.
| |||||||||||
Stores the formatting pattern to be used for date and time together.
| |||||||||||
This method is deprecated.
since 3.5 dayFormat is no longer supported
| |||||||||||
Stores the formatting pattern to be used for decimal numbers.
| |||||||||||
Stores the formatting pattern to be used for integer numbers.
| |||||||||||
Stores the formatting pattern to be used for times.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.core.FormatSettingsManager
|
Returns the formatting pattern used for dates. Typically something like "d MMM, yyyy".
Returns the formatting pattern used for date and time together. Typically something like "d MMM, yyyy HH:mm".
This method is deprecated.
since 3.5 this simply redirects to getDateFormat. Previously defaulted to "MMM dd"
Was previously a slightly shorter format for representing a day, usually without
a year. Is now identical to getDateFormat()
.
Returns the formatting pattern used for decimal numbers. Typically something like "###############.##########".
Returns the formatting pattern used for integer numbers. Typically something like "###############".
Returns the formatting pattern used for times. Typically something like "h:mm a".
Stores the formatting pattern to be used for dates.
pattern | a pattern compatible with java.text.SimpleDateFormat |
---|
Stores the formatting pattern to be used for date and time together.
pattern | a pattern compatible with java.text.SimpleDateFormat |
---|
This method is deprecated.
since 3.5 dayFormat is no longer supported
Does nothing. Previously set the "dayFormat", which has been dropped in favour
of always using getDateFormat()
.
Stores the formatting pattern to be used for decimal numbers.
pattern | a pattern compatible with java.text.DecimalFormat |
---|
Stores the formatting pattern to be used for integer numbers.
pattern | a pattern compatible with java.text.DecimalFormat |
---|
Stores the formatting pattern to be used for times.
pattern | a pattern compatible with java.text.SimpleDateFormat |
---|