The number of milliseconds in one second.
The number of seconds in one minute.
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 a new Duration instance created from the specified number of milliseconds.
The number of milliseconds.
Returns a new Duration instance created from the specified number of minutes.
The number of minutes.
Returns a new Duration instance created from the specified number of seconds.
The number of seconds.
A simple utility class for converting durations between minutes, seconds, and milliseconds.