Duration
A duration of time at nanosecond precision.
For many applications, working with specific units like IntHours or LongSeconds is more efficient and plenty adequate. However, when working with larger durations at sub-second precision, overflow is a very real possibility. Duration is capable of representing fixed, nanosecond-precision durations that span the entire supported time scale, making it more suitable for these use cases.
Types
Functions
Properties
The absolute value of this duration.
Converts this duration into the number of whole microseconds represented by it.
Converts this duration into the number of whole milliseconds represented by it.
Converts this duration into the number of whole minutes represented by it.
Converts this duration into LongNanoseconds.
Returns the number of whole seconds in this duration.