|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface JiraDurationUtils.DurationFormatter
This interface defines methods for formatting time duration
Method Summary | |
---|---|
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 |
Method Detail |
---|
String getI18nKey()
String format(Long duration)
duration
- time duration to format
String format(Long duration, Locale locale)
duration
- time duration to formatlocale
- user's locale
String shortFormat(Long duration)
duration
- time duration to format
String shortFormat(Long duration, Locale locale)
duration
- time duration in secondslocale
- locale to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |