class

Time::WindowsLocation

Inherits Time::Location / Reference / Object

A time location capable of computing recurring time zone transitions in the past or future using definitions from the Windows Registry.

These locations are returned by Time::Location.load.

Constructors

new(name : String, zones : Array(Zone), key_name : String, past_tz_args : Tuple(Int32, Int32, Time::TZ::MonthWeekDay, Time::TZ::MonthWeekDay), future_tz_args : Tuple(Int32, Int32, Time::TZ::MonthWeekDay, Time::TZ::MonthWeekDay) = past_tz_args, transitions = [] of ZoneTransition)
Source

Instance methods

==(other : self)

Returns true if other is equal to self.

Two Location instances are considered equal if they have the same name, offset zones and transition rules.

hash(hasher)

Returns true if other is equal to self.

Two Location instances are considered equal if they have the same name, offset zones and transition rules.