DurationExtensions extension

on

Properties

totalDays → double

Available on Duration, provided by the DurationExtensions extension

Returns the days as double
no setter
totalHours → double

Available on Duration, provided by the DurationExtensions extension

Returns the hours as double
no setter
totalMinutes → double

Available on Duration, provided by the DurationExtensions extension

Returns the minutes as double
no setter
totalSeconds → double

Available on Duration, provided by the DurationExtensions extension

Returns the seconds as double
no setter

Methods

toHoursMinutes() → String

Available on Duration, provided by the DurationExtensions extension

Converts the duration into a readable string 05:15
toHoursMinutesSeconds() → String

Available on Duration, provided by the DurationExtensions extension

Converts the duration into a readable string 05:15:35