Documentation

Std.Time.Zoned.RecurringRule

Types for recurring DST transition rules, used by ZoneRules and produced by POSIX TZ parsing.

Specifies how a DST transition date is expressed.

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

      Returns the Day.Offset (days since epoch) for a TransitionSpec.mwd in the given year.

      Mm.w.d: month m, week w (1–5; 5 = last), ISO weekday d (1 = Monday, 7 = Sunday). Finds the w-th occurrence of weekday d in month m; if w = 5, returns the last occurrence.

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

        Returns the Day.Offset (days since epoch) for a TransitionSpec.julian in the given year.

        Jn: Julian day 1–365. Feb 29 is never counted, so in a leap year days ≥ 60 are shifted by one.

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

          Returns the Day.Offset (days since epoch) for a TransitionSpec.julian0 in the given year.

          n: zero-based day 0–365. Feb 29 is counted normally in leap years.

          Equations
          Instances For

            A single DST transition rule: a date specification and a wall-clock time.

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

                Recurring DST details for a zone that observes daylight saving time.

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

                    Recurring rule describing standard and DST zones, as found in a POSIX TZ string or TZif footer.

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