Class FriendlyDateFormatterHelper
java.lang.Object
com.atlassian.confluence.core.datetime.FriendlyDateFormatterHelper
Deprecated.
A helper that produces a friendly date string (as opposed to Message object like
FriendlyDateFormatter
).-
Constructor Summary
ConstructorsConstructorDescriptionFriendlyDateFormatterHelper
(FriendlyDateFormatter friendlyDateFormatter, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Produces a friendly date of the specified date according to the locale settings of the thread local user.Deprecated.Produces a friendly date of the specified date according to the locale settings of the specified user.
-
Constructor Details
-
FriendlyDateFormatterHelper
public FriendlyDateFormatterHelper(FriendlyDateFormatter friendlyDateFormatter, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager) Deprecated.
-
-
Method Details
-
format
Deprecated.Produces a friendly date of the specified date according to the locale settings of the thread local user.- Parameters:
date
- the date- Returns:
- a friendly date
-
format
Deprecated.Produces a friendly date of the specified date according to the locale settings of the specified user.- Parameters:
date
- the date- Returns:
- a friendly date
-
DateFormatService.getFormattedRelativeTime(Instant)