|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TimeUnitNames
Get the name or code for a time unit.
| Method Summary | |
|---|---|
String |
code(TimeUnit unit)
Get the code for the specified time unit. |
String |
plural(TimeUnit unit)
Get the plural name for the specified time unit. |
String |
singular(TimeUnit unit)
Get the singular form of the specified time unit. |
| Method Detail |
|---|
String code(TimeUnit unit)
unit - The time unit.
String plural(TimeUnit unit)
unit - The time unit.
String singular(TimeUnit unit)
unit - The time unit.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||