Class FriendlyDateFormatterHelper
- java.lang.Object
-
- com.atlassian.confluence.core.datetime.FriendlyDateFormatterHelper
-
@Deprecated public class FriendlyDateFormatterHelper extends Object
Deprecated.since 8.8 useDateFormatService.getFormattedRelativeTime(Instant)
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)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
format(Date date)
Deprecated.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)
Deprecated.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)
Deprecated.
-
-