Create a shallow copy of other Duration.
Create a duration from a Value.
Create a Duration using 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.
Return pointer to internal mg_duration.
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. Uses a core.time.Duration internally.