Package com.atlassian.confluence.it
Class TestingFormatSettingsManager
- java.lang.Object
-
- com.atlassian.confluence.it.TestingFormatSettingsManager
-
- All Implemented Interfaces:
FormatSettingsManager
public class TestingFormatSettingsManager extends Object implements FormatSettingsManager
-
-
Constructor Summary
Constructors Constructor Description TestingFormatSettingsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDateFormat()Returns the formatting pattern used for dates.StringgetDateTimeFormat()Returns the formatting pattern used for date and time together.StringgetDecimalNumberFormat()Returns the formatting pattern used for decimal numbers.StringgetEditorBlogPostDate()Returns the date time format for the editor blog post dateStringgetLongNumberFormat()Returns the formatting pattern used for integer numbers.StringgetTimeFormat()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.
-
-
-
Method Detail
-
getDateFormat
public String getDateFormat()
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for dates. Typically something like "d MMM, yyyy".- Specified by:
getDateFormatin interfaceFormatSettingsManager
-
setDateFormat
public void setDateFormat(String pattern)
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for dates.- Specified by:
setDateFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withSimpleDateFormat
-
getTimeFormat
public String getTimeFormat()
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for times. Typically something like "h:mm a".- Specified by:
getTimeFormatin interfaceFormatSettingsManager
-
setTimeFormat
public void setTimeFormat(String pattern)
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for times.- Specified by:
setTimeFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withSimpleDateFormat
-
getDateTimeFormat
public String 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
public String getEditorBlogPostDate()
Description copied from interface:FormatSettingsManagerReturns the date time format for the editor blog post date- Specified by:
getEditorBlogPostDatein interfaceFormatSettingsManager
-
setDateTimeFormat
public void setDateTimeFormat(String pattern)
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
public String getLongNumberFormat()
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for integer numbers. Typically something like "###############".- Specified by:
getLongNumberFormatin interfaceFormatSettingsManager
-
setLongNumberFormat
public void setLongNumberFormat(String pattern)
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
public String getDecimalNumberFormat()
Description copied from interface:FormatSettingsManagerReturns the formatting pattern used for decimal numbers. Typically something like "###############.##########".- Specified by:
getDecimalNumberFormatin interfaceFormatSettingsManager
-
setDecimalNumberFormat
public void setDecimalNumberFormat(String pattern)
Description copied from interface:FormatSettingsManagerStores the formatting pattern to be used for decimal numbers.- Specified by:
setDecimalNumberFormatin interfaceFormatSettingsManager- Parameters:
pattern- a pattern compatible withDecimalFormat
-
-