Documentation

Std.Time.Zoned.Offset

Represents a timezone offset with an hour and second component.

  • ofSeconds :: (
  • )
Instances For
    theorem Std.Time.TimeZone.Offset.ext {x y : Offset} (second : x.second = y.second) :
    x = y
    @[implicit_reducible]
    Instances For
      @[implicit_reducible]

      Converts an Offset to a string in ISO 8601 format. The colon parameter determines if the hour and minute components are separated by a colon (e.g., "+01:00" or "+0100").

      Instances For

        A zero Offset representing UTC (no offset).

        Instances For

          Creates an Offset from a given number of hour.

          Instances For

            Creates an Offset from a given number of hours and minutes.

            Instances For