| Package | Description |
|---|---|
| humanize |
Humanize main classes.
|
| humanize.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Humanize.duration(Number seconds,
Constants.TimeStyle style)
Formats a number of seconds as hours, minutes and seconds.
|
static String |
Humanize.duration(Number seconds,
Constants.TimeStyle style,
Locale locale)
Same as
#duration(Number, TimeStyle) for the specified locale. |
| Modifier and Type | Method and Description |
|---|---|
static Constants.TimeStyle |
Constants.TimeStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TimeStyle[] |
Constants.TimeStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015. All Rights Reserved.