public interface TimeUnitNames
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
code(TimeUnit unit)
Get the code for the specified time unit.
|
java.lang.String |
plural(TimeUnit unit)
Get the plural name for the specified time unit.
|
java.lang.String |
singular(TimeUnit unit)
Get the singular form of the specified time unit.
|
java.lang.String code(TimeUnit unit)
unit - The time unit.java.lang.String plural(TimeUnit unit)
unit - The time unit.java.lang.String singular(TimeUnit unit)
unit - The time unit.