Import std.time.duration
Float64
extend
Extend Float64
Durations of a number of units with a fraction, as 1.5.Seconds is.
std/time/duration.fb, line 533
-
This many nanoseconds, to the nearest, as a Duration. Panics for NaN, an infinity, or one longer than a Duration holds.
-
This many microseconds, to the nearest nanosecond, as a Duration, as
1.5.Microsecondsis. Panics for NaN, an infinity, or one longer than a Duration holds. -
This many milliseconds, to the nearest nanosecond, as a Duration, as
1.5.Millisecondsis. Panics for NaN, an infinity, or one longer than a Duration holds. -
This many seconds, to the nearest nanosecond, as a Duration, as
1.5.Secondsis. Panics for NaN, an infinity, or one longer than a Duration holds. -
This many minutes, to the nearest nanosecond, as a Duration, as
1.5.Minutesis. Panics for NaN, an infinity, or one longer than a Duration holds. -
This many hours, to the nearest nanosecond, as a Duration, as
1.5.Hoursis. Panics for NaN, an infinity, or one longer than a Duration holds. -
This many days, to the nearest nanosecond, as a Duration, as
1.5.Daysis. Panics for NaN, an infinity, or one longer than a Duration holds.
Report an issue with this page or with FutureBlitz on GitHub.