Documentation

Std.Time.Duration

Represents a time interval with nanoseconds precision.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    @[inline]

    Negates a Duration, flipping its second and nanosecond values.

    Equations
    Instances For
      @[inline]

      Creates a new Duration out of Second.Offset.

      Equations
      Instances For

        Creates a new Duration out of Nanosecond.Offset.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[inline]

          Checks if the duration is zero seconds and zero nanoseconds.

          Equations
          Instances For
            @[inline]

            Converts a Duration to a Second.Offset

            Equations
            Instances For
              @[inline]

              Converts a Duration to a Nanosecond.Offset

              Equations
              Instances For
                @[inline]

                Converts a Duration to a Minute.Offset

                Equations
                Instances For
                  @[inline]

                  Converts a Duration to a Day.Offset

                  Equations
                  Instances For
                    @[inline]

                    Normalizes Second.Offset and NanoSecond.span in order to build a new Duration out of it.

                    Equations
                    Instances For
                      @[inline]

                      Adds two durations together, handling any carry-over in nanoseconds.

                      Equations
                      Instances For
                        @[inline]

                        Subtracts one Duration from another.

                        Equations
                        Instances For
                          @[inline]

                          Adds a Nanosecond.Offset to a Duration

                          Equations
                          Instances For
                            @[inline]

                            Adds a Nanosecond.Offset to a Duration

                            Equations
                            Instances For
                              @[inline]

                              Adds a Second.Offset to a Duration

                              Equations
                              Instances For
                                @[inline]

                                Subtracts a Second.Offset from a Duration

                                Equations
                                Instances For
                                  @[inline]

                                  Adds a Minute.Offset to a Duration

                                  Equations
                                  Instances For
                                    @[inline]

                                    Subtracts a Minute.Offset from a Duration

                                    Equations
                                    Instances For
                                      @[inline]

                                      Adds an Hour.Offset to a Duration

                                      Equations
                                      Instances For
                                        @[inline]

                                        Subtracts an Hour.Offset from a Duration

                                        Equations
                                        Instances For
                                          @[inline]

                                          Adds a Day.Offset to a Duration

                                          Equations
                                          Instances For
                                            @[inline]

                                            Subtracts a Day.Offset from a Duration

                                            Equations
                                            Instances For
                                              @[inline]

                                              Adds a Week.Offset to a Duration

                                              Equations
                                              Instances For
                                                @[inline]

                                                Subtracts a Week.Offset from a Duration

                                                Equations
                                                Instances For