Methods
totalOf()
Calculates the total number of units of type 'totalOf' that would fit inside this duration.
(static) from()
Creates a Duration from a DurationLike, which is an object containing zero or more of the following: hours, seconds, minutes, millis.