Package | Description |
---|---|
be.panako.util |
Utility classes for Panako
|
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(java.lang.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 |
---|---|
double |
TimeUnit.convert(double sourceDuration,
TimeUnit sourceUnit)
Convert the given time duration in the given unit to this
unit.
|
double |
StopWatch.timePassed(TimeUnit unit)
Calculates and returns the time passed in the requested unit.
|