| com.atlassian.confluence.core.FormatSettingsManager |
Known Indirect Subclasses
|
Persistent storage and retrieval of format settings. Implementations should return a default value if no configuration currently exists.
| 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.
| |||||||||||
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 date time format for the editor blog post date
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 SimpleDateFormat
|
|---|
Stores the formatting pattern to be used for date and time together.
| pattern | a pattern compatible with 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 SimpleDateFormat
|
|---|