- millis
creates new Duration instance of the given length of time
- toMilliseconds
- of
tries to convert given object to a Duration, parsing strings, treating numbers
as millis, etc; throw
- toMillisecondsRoundingUp
as #toMilliseconds() but rounding away from zero (so 1 nanosecond gets rounded
to 1 millisecond); se
- toNanoseconds
- compareTo
- countdownTimer
returns a new started CountdownTimer with this duration
- minutes
- multiply
- nanos
creates new Duration instance of the given length of time
- parse
see #of(Object) and Time#parseTimeString(String)
- seconds
creates new Duration instance of the given length of time