Describes the time duration of an action.
Time duration in milliseconds.
Important: This is a Public Preview API. It may be changed or removed at any time.
Returns a Duration whose value is this duration value divided by the given scale number.
Returns the value of this Duration expressed as a Long number of days.
Returns the value of this Duration expressed as a Long number of hours.
Returns the value of this Duration expressed as a Long number of milliseconds.
Returns the value of this Duration expressed as a Long number of minutes.
Returns the value of this Duration expressed as a Long number of nanoseconds.
Returns the value of this Duration expressed as a Long number of seconds.
Returns a Duration whose value is the difference between this and other duration values.
Returns a Duration whose value is the sum of this and other duration values.
Returns a Duration whose value is remainder of truncating division of this Duration.durationMillis by the other.
Returns a Duration whose value is this duration value multiplied by the given scale number.