- create
Create a Duration from a number of minutes.
- toMinutes
Return the duration in minutes.
For instance, Duration.decode(1h, 24).toMinutes() will return 60.
- add
Add the given duration to the current one.
- decode
Create a Duration from a text duration and the number of hours in a day.
For instance, Duration.deco
- encode
Return the duration in text, by using the given hours in day parameter to
process hours.
Duration.de
- multiply
Multiply the duration with the given factor.
- invalid
- hashCode
- isGreaterThan
Return true if the given duration is greater than the current one.
- subtract
Subtract the given duration to the current one.
- toString