Class DateFormatterFactoryImpl
java.lang.Object
com.atlassian.confluence.core.datetime.DateFormatterFactoryImpl
- All Implemented Interfaces:
 DateFormatterFactory
- 
Constructor Summary
ConstructorsConstructorDescriptionDateFormatterFactoryImpl(FormatSettingsManager formatSettingsManager, LocaleManager localeManager, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager)  - 
Method Summary
Modifier and TypeMethodDescriptionObtains a DateFormatter suitable for the current users timezone.Creates a FriendlyDateFormatter for the current user, with the current date/time used for "now".Creates a FriendlyDateFormatter for the current user.Obtains a DateFormatter that uses the instances default timezone. 
- 
Constructor Details
- 
DateFormatterFactoryImpl
public DateFormatterFactoryImpl(FormatSettingsManager formatSettingsManager, LocaleManager localeManager, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager)  
 - 
 - 
Method Details
- 
createForUser
Description copied from interface:DateFormatterFactoryObtains a DateFormatter suitable for the current users timezone.NOTE: user locale settings *are* respected, but DateFormatter itself handles that.
- Specified by:
 createForUserin interfaceDateFormatterFactory
 - 
createGlobal
Description copied from interface:DateFormatterFactoryObtains a DateFormatter that uses the instances default timezone.- Specified by:
 createGlobalin interfaceDateFormatterFactory- See Also:
 - 
TimeZoneManager.getDefaultTimeZone()
 
 - 
createFriendlyForUser
Description copied from interface:DateFormatterFactoryCreates a FriendlyDateFormatter for the current user.- Specified by:
 createFriendlyForUserin interfaceDateFormatterFactory
 - 
createFriendlyForUser
Description copied from interface:DateFormatterFactoryCreates a FriendlyDateFormatter for the current user, with the current date/time used for "now".- Specified by:
 createFriendlyForUserin interfaceDateFormatterFactory
 
 -