| Package | Description |
|---|---|
| java.util.concurrent |
| Modifier and Type | Method and Description |
|---|---|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
long |
TimeUnit.convert(long sourceDuration,
TimeUnit sourceUnit)
Convert the given time duration in the given unit to this
unit.
|
Copyright © 2013 API Design. All Rights Reserved.