Interface DateFormatterFactory
- All Known Implementing Classes:
- DateFormatterFactoryImpl
public interface DateFormatterFactory
Constructs 
DateFormatter instances for use throughout Confluence core.- 
Method SummaryModifier 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.
- 
Method Details- 
createForUserDateFormatter createForUser()Obtains a DateFormatter suitable for the current users timezone.NOTE: user locale settings *are* respected, but DateFormatter itself handles that. 
- 
createGlobalDateFormatter createGlobal()Obtains a DateFormatter that uses the instances default timezone.- See Also:
 
- 
createFriendlyForUserCreates a FriendlyDateFormatter for the current user.
- 
createFriendlyForUserFriendlyDateFormatter createFriendlyForUser()Creates a FriendlyDateFormatter for the current user, with the current date/time used for "now".
 
-