Package com.atlassian.confluence.it
Class TestingFormatSettingsManager
java.lang.Object
com.atlassian.confluence.it.TestingFormatSettingsManager
- All Implemented Interfaces:
FormatSettingsManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the formatting pattern used for dates.Returns the formatting pattern used for date and time together.Returns the formatting pattern used for decimal numbers.Returns the date format for the editor blog post dateReturns the time format for the editor blog post dateReturns the formatting pattern used for integer numbers.Returns the formatting pattern used for times.voidsetDateFormat(String pattern) Stores the formatting pattern to be used for dates.voidsetDateTimeFormat(String pattern) Stores the formatting pattern to be used for date and time together.voidsetDecimalNumberFormat(String pattern) Stores the formatting pattern to be used for decimal numbers.voidsetLongNumberFormat(String pattern) Stores the formatting pattern to be used for integer numbers.voidsetTimeFormat(String pattern) Stores the formatting pattern to be used for times.
-
Constructor Details
-
TestingFormatSettingsManager
public TestingFormatSettingsManager()
-
-
Method Details
-
getDateFormat
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for dates. Typically something like "d MMM, yyyy".- Specified by:
getDateFormatin interfaceFormatSettingsManager
-
setDateFormat
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for dates.- Specified by:
setDateFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withSimpleDateFormat
-
getTimeFormat
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for times. Typically something like "h:mm a".- Specified by:
getTimeFormatin interfaceFormatSettingsManager
-
setTimeFormat
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for times.- Specified by:
setTimeFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withSimpleDateFormat
-
getDateTimeFormat
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for date and time together. Typically something like "d MMM, yyyy HH:mm".- Specified by:
getDateTimeFormatin interfaceFormatSettingsManager
-
getEditorBlogPostDate
Description copied from interface:FormatSettingsManagerReturns the date format for the editor blog post date- Specified by:
getEditorBlogPostDatein interfaceFormatSettingsManager
-
getEditorBlogPostTime
Description copied from interface:FormatSettingsManagerReturns the time format for the editor blog post date- Specified by:
getEditorBlogPostTimein interfaceFormatSettingsManager
-
setDateTimeFormat
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for date and time together.- Specified by:
setDateTimeFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withSimpleDateFormat
-
getLongNumberFormat
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for integer numbers. Typically something like "###############".- Specified by:
getLongNumberFormatin interfaceFormatSettingsManager
-
setLongNumberFormat
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for integer numbers.- Specified by:
setLongNumberFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withDecimalFormat
-
getDecimalNumberFormat
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for decimal numbers. Typically something like "###############.##########".- Specified by:
getDecimalNumberFormatin interfaceFormatSettingsManager
-
setDecimalNumberFormat
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for decimal numbers.- Specified by:
setDecimalNumberFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withDecimalFormat
-