Class FriendlyDateFormatterHelper
- java.lang.Object
-
- com.atlassian.confluence.core.datetime.FriendlyDateFormatterHelper
-
public class FriendlyDateFormatterHelper extends Object
A helper that produces a friendly date string (as opposed to Message object likeFriendlyDateFormatter
).
-
-
Constructor Summary
Constructors Constructor Description FriendlyDateFormatterHelper(FriendlyDateFormatter friendlyDateFormatter, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(Date date)
Produces a friendly date of the specified date according to the locale settings of the thread local user.String
format(Date date, com.atlassian.user.User user)
Produces a friendly date of the specified date according to the locale settings of the specified user.
-
-
-
Constructor Detail
-
FriendlyDateFormatterHelper
public FriendlyDateFormatterHelper(FriendlyDateFormatter friendlyDateFormatter, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
-