public class FriendlyDateFormatterHelper extends Object
FriendlyDateFormatter
).Constructor and Description |
---|
FriendlyDateFormatterHelper(FriendlyDateFormatter friendlyDateFormatter,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and 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.
|
public FriendlyDateFormatterHelper(FriendlyDateFormatter friendlyDateFormatter, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
Copyright © 2003–2020 Atlassian. All rights reserved.