Documentation

Std.Time.DateTime

@[inline]

Converts a Timestamp to a WallTime for a given timezone offset. The result is the local civil time: wall = UTC + offset.

Equations
Instances For
    @[inline]

    Creates a Timestamp from a WallTime and a timezone offset. Assumes the WallTime represents civil time at the given offset: UTC = wall − offset.

    Equations
    Instances For
      @[inline]

      Converts a WallTime to a Timestamp given a timezone offset. The WallTime is treated as civil time at the given offset: UTC = wall − offset.

      Equations
      Instances For
        @[inline]

        Creates a WallTime from a Timestamp given a timezone offset. The result is the local civil time: wall = UTC + offset.

        Equations
        Instances For
          @[inline]

          Converts a PlainDate to a WallTime.

          Equations
          Instances For
            @[inline]

            Converts a WallTime to a PlainDate.

            Equations
            Instances For
              @[inline]

              Converts a PlainTime to a WallTime.

              Equations
              Instances For
                @[inline]

                Converts a WallTime to a PlainTime.

                Equations
                Instances For
                  @[inline]

                  Wraps a PlainDate in a PlainDateTime with midnight as the time component.

                  Equations
                  Instances For
                    @[inline]

                    Extracts the PlainDate component from a PlainDateTime.

                    Equations
                    Instances For
                      @[inline]

                      Wraps a PlainTime in a PlainDateTime with year 1, month 1, day 1 as the date component.

                      Equations
                      Instances For
                        @[inline]

                        Extracts the PlainTime component from a PlainDateTime.

                        Equations
                        Instances For