public static interface JiraDurationUtils.DurationFormatter
Modifier and Type | Method and Description |
---|---|
String |
format(Long duration)
Formats a given time duration with default (system) locale.
|
String |
format(Long duration,
Locale locale)
Formats a given time duration with given locale.
|
String |
getI18nKey() |
String |
shortFormat(Long duration)
Formats a given time duration with given locale in the most compact way possible.
|
String |
shortFormat(Long duration,
Locale locale)
Formats a given time duration with the given locale in the most compact way possible
|
String getI18nKey()
String format(Long duration)
duration
- time duration to formatString format(Long duration, Locale locale)
duration
- time duration to formatlocale
- user's localeString shortFormat(Long duration)
duration
- time duration to formatCopyright © 2002-2017 Atlassian. All Rights Reserved.