Uses of Class
be.panako.util.TimeUnit
Package | Description |
---|---|
be.panako.util |
Utility classes for Panako
|
-
Uses of TimeUnit in be.panako.util
Methods in be.panako.util that return TimeUnit Modifier and Type Method 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.Methods in be.panako.util with parameters of type TimeUnit Modifier and Type Method 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.