DurationUtils extension

Provides miscellaneous extension methods on Duration.

on

Properties

hoursOnly → int

Available on Duration, provided by the DurationUtils extension

Returns the hours component of the Duration.
no setter
microsecondsOnly → int

Available on Duration, provided by the DurationUtils extension

Returns the microseconds component of the Duration.
no setter
millisecondsOnly → int

Available on Duration, provided by the DurationUtils extension

Returns the milliseconds component of the Duration.
no setter
minutesOnly → int

Available on Duration, provided by the DurationUtils extension

Returns the minutes component of the Duration.
no setter
secondsOnly → int

Available on Duration, provided by the DurationUtils extension

Returns the seconds component of the Duration.
no setter