Documentation

Std.Time.Zoned.ZoneRules

Represents the type of local time in relation to UTC.

Instances For

    Represents types of wall clocks or standard times.

    Instances For

      Represents a type of local time, including offset and daylight saving information.

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

        Gets the TimeZone offset from a LocalTimeType.

        Equations
        • time.getTimeZone = { offset := time.gmtOffset, name := time.identifier, abbreviation := time.abbreviation, isDST := time.isDst }
        Instances For

          Represents a time zone transition, mapping a time to a local time type.

          Instances For

            Represents the rules for a time zone.

            Instances For
              Equations

              Create a TimeZone from a Transition.

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

                Applies the transition to a Timestamp.

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

                  Finds the transition corresponding to a given timestamp in Array Transition. If the timestamp falls between two transitions, it returns the most recent transition before the timestamp.

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

                    Finds the transition corresponding to a given timestamp in Array Transition. If the timestamp falls between two transitions, it returns the most recent transition before the timestamp.

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

                      Find the current TimeZone out of a Transition in a Array Transition

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

                        Creates ZoneRules with a fixed GMT offset.

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

                          Creates ZoneRules with a fixed offset of UTC (GMT+0).

                          Equations
                          Instances For
                            @[inline]

                            Finds the LocalTimeType corresponding to a given Timestamp in ZoneRules. If the timestamp falls between two transitions, it returns the most recent transition before the timestamp. If no transition is found, it falls back to initialLocalTimeType.

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

                              Find the current TimeZone out of a Transition in a ZoneRules

                              Equations
                              Instances For
                                @[inline]

                                Creates ZoneRules for the given TimeZone.

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