Skip to content
FutureBlitz

    Install

    Import std.time.duration

    Float64

    std.time.duration

    extend

    Extend Float64

    Durations of a number of units with a fraction, as 1.5.Seconds is.

    std/time/duration.fb, line 533

    • @PanicsAtCaller Public Property Nanoseconds: Duration property #

      This many nanoseconds, to the nearest, as a Duration. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Microseconds: Duration property #

      This many microseconds, to the nearest nanosecond, as a Duration, as 1.5.Microseconds is. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Milliseconds: Duration property #

      This many milliseconds, to the nearest nanosecond, as a Duration, as 1.5.Milliseconds is. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Seconds: Duration property #

      This many seconds, to the nearest nanosecond, as a Duration, as 1.5.Seconds is. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Minutes: Duration property #

      This many minutes, to the nearest nanosecond, as a Duration, as 1.5.Minutes is. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Hours: Duration property #

      This many hours, to the nearest nanosecond, as a Duration, as 1.5.Hours is. Panics for NaN, an infinity, or one longer than a Duration holds.

    • @PanicsAtCaller Public Property Days: Duration property #

      This many days, to the nearest nanosecond, as a Duration, as 1.5.Days is. Panics for NaN, an infinity, or one longer than a Duration holds.

    Report an issue with this page or with FutureBlitz on GitHub.