Abs
DURATION.Abs
Returns the absolute value of the given time.Duration value.
Hours
DURATION.Hours
Returns the time.Duration value as a floating point number of hours.
Microseconds
DURATION.Microseconds
Returns the time.Duration value as an integer microsecond count.
Milliseconds
DURATION.Milliseconds
Returns the time.Duration value as an integer millisecond count.
Minutes
DURATION.Minutes
Returns the time.Duration value as a floating point number of minutes.
Nanoseconds
DURATION.Nanoseconds
Returns the time.Duration value as an integer nanosecond count.
Round
DURATION1.Round DURATION2
Returns the result of rounding DURATION1 to the nearest multiple of DURATION2.
Seconds
DURATION.Seconds
Returns the time.Duration value as a floating point number of seconds.
Truncate
DURATION1.Truncate DURATION2
Returns the result of rounding DURATION1 toward zero to a multiple of DURATION2.