# Time durations in SI seconds.

Durations use SI seconds.

A duration in time in (TAI) SI seconds (as measured on the earth's geoid).
A duration is represented by a `ddoublestd/num/ddouble/ddouble: V` giving it a high range and precision (see the `instant` module).

Create a duration from seconds as a `float64std/core/types/float64: V`.

Create a duration from seconds and a fraction as a `float64std/core/types/float64: V`'s.

Create a duration from whole seconds `secs` and a fraction of seconds `frac`.

Create a `durationstd/time/duration/duration: V` of `n` milli-seconds.

Create a `durationstd/time/duration/duration: V` of `n` seconds.

Subtract a duration from a duration.

Negate a duration.

Compare two `durationstd/time/duration/duration: V`s.

Create a `durationstd/time/duration/duration: V` of `n` “days” (assuming 86400s in a day).

Convert a `timespanstd/time/timestamp/timespan: V` to a `durationstd/time/duration/duration: V`. Be careful to only use use this on timespan's that are in TAI SI seconds!

The fractional seconds of a duration as a `float64std/core/types/float64: V`. `d.seconds == d.truncate.fixed + d.fraction.fixed`.

Create a `durationstd/time/duration/duration: V` of `n` hours.

Is this a negative duration?

Is this a positive duration?

Is this a zero duration?

The maximum of two durations.

Return the duration in rounded SI milli-seconds.

The minimum of two durations.

Create a `durationstd/time/duration/duration: V` of `n` minutes.

Return the duration in rounded SI nano-seconds.

Return the duration in SI seconds.

Show a duration in SI seconds.

Convert a duration to a `timespanstd/time/timestamp/timespan: V`.

Convert a duration to a `timespanstd/time/timestamp/timespan: V`.

The whole seconds (in some time unit) of the duration as `intstd/core/types/int: V``. Rounds towards zero.`.

Convert a `timestampstd/time/timestamp/timestamp: V` to a `durationstd/time/duration/duration: V`. Be careful to only use use this on timestamp's that are in TAI SI seconds and do not contain leap seconds!

Create a `durationstd/time/duration/duration: V` of `n` “weeks” (assuming 7 days of 86400s).

Create a `durationstd/time/duration/duration: V` of `n` “years” (assuming 365 days of 86400s).

A zero duration.