Documentation

Std.Time.Zoned.TimeZone

A TimeZone structure that stores the timezone offset, the name, abbreviation and if it's in daylight saving time.

Instances For
    Equations

    A zeroed Timezone representing UTC (no offset).

    Equations
    Instances For

      A zeroed Timezone representing GMT (no offset).

      Equations
      Instances For

        Creates a Timestamp from a given number of hour.

        Equations
        Instances For

          Creates a Timestamp from a given number of second.

          Equations
          • Std.Time.TimeZone.ofSeconds name abbreviation n isDST = { offset := { second := n }, name := name, abbreviation := abbreviation, isDST := isDST }
          Instances For

            Gets the number of seconds in a timezone offset.

            Equations
            • tz.toSeconds = tz.offset.second
            Instances For