Package | Description |
---|---|
js.format |
User interface formatters and parsers.
|
Modifier and Type | Field and Description |
---|---|
private static Map<Duration.Units,String> |
Duration.Units.DISPLAY |
private static Map<String,Duration.Units> |
Duration.Units.UNITS |
Modifier and Type | Method and Description |
---|---|
static Duration.Units |
Duration.Units.forName(String name) |
static Duration.Units |
Duration.Units.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Duration.Units[] |
Duration.Units.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private String |
Duration.format(double duration,
Duration.Units units)
Build time duration representation for given numeric value and units.
|
Copyright © 2019. All rights reserved.