Documentation

Std.Time.Time.Unit.Millisecond

Ordinal represents a bounded value for milliseconds, ranging from 0 to 999 milliseconds.

Equations
Instances For

    Offset represents a duration offset in milliseconds.

    Equations
    Instances For
      @[inline]

      Creates an Offset from a natural number.

      Equations
      Instances For
        @[inline]

        Creates an Offset from an integer.

        Equations
        Instances For
          @[inline]

          Creates an Ordinal from an integer, ensuring the value is within bounds.

          Equations
          Instances For
            @[inline]

            Creates an Ordinal from a natural number, ensuring the value is within bounds.

            Equations
            Instances For
              @[inline]

              Creates an Ordinal from a Fin, ensuring the value is within bounds.

              Equations
              Instances For
                @[inline]

                Converts an Ordinal to an Offset.

                Equations
                • ordinal.toOffset = { val := ordinal.val }
                Instances For