class TZInfo::LinkedTimezone
time zone.
Represents time zones that are defined as a link to or alias for another
def canonical_zone
-
(Timezone)
- the canonical {Timezone} instance for this {Timezone}.
def canonical_zone @linked_timezone.canonical_zone end
def initialize(info)
-
info
(DataSources::LinkedTimezoneInfo
) -- a
def initialize(info) super @linked_timezone = Timezone.get(info.link_to_identifier) end
def period_for(time)
def period_for(time) @linked_timezone.period_for(time) end
def periods_for_local(local_time)
def periods_for_local(local_time) @linked_timezone.periods_for_local(local_time) end
def transitions_up_to(to, from = nil)
def transitions_up_to(to, from = nil) @linked_timezone.transitions_up_to(to, from) end