ReadonlyquantityReadonlyunitStatic ReadonlyDAYS_The number of days in one week.
Static ReadonlyHOURS_The number of hours in one day.
Static ReadonlyMILLIS_The number of milliseconds in one second.
Static ReadonlyMINUTES_The number of minutes in one hour.
Static ReadonlySECONDS_The number of seconds in one minute.
Returns the current number of days represented by this Duration instance.
Returns the current number of hours represented by this Duration instance.
Returns the current number of milliseconds represented by this Duration instance.
Returns the current number of minutes represented by this Duration instance, rounded to the nearest integer
value.
Returns the current number of seconds represented by this Duration instance, rounded to the nearest integer
value.
Returns the current number of weeks represented by this Duration instance.
A simple utility class for converting durations between minutes, seconds, and milliseconds.