Create a copy of other duration.
Create a duration from a Value.
Create a Duration using the given mg_duration.
Create a Duration from a copy of the given mg_duration.
Returns the days part of the temporal amount.
Returns the months part of the temporal amount.
Returns the nanoseconds part of the temporal amount.
Assigns a duration to another. The target of the assignment gets detached from whatever duration it was attached to, and attaches itself to the new duration.
Compares this duration with other. Return: true if same, false otherwise.
Returns the seconds part of the temporal amount.
Return a printable string representation of this duration.
Represents a temporal amount which captures the difference in time between two instants.
Duration is defined with months, days, seconds, and nanoseconds. Note: Duration can be negative.