class TZInfo::LinkedTimezone

time zone.
Represents time zones that are defined as a link to or alias for another

def canonical_zone

Returns:
  • (Timezone) - the canonical {Timezone} instance for this {Timezone}.
def canonical_zone
  @linked_timezone.canonical_zone
end

def initialize(info)

Parameters:
  • info (DataSources::LinkedTimezoneInfo) -- a
def initialize(info)
  super
  @linked_timezone = Timezone.get(info.link_to_identifier)
end

def period_for(time)

(see Timezone#period_for)
def period_for(time)
  @linked_timezone.period_for(time)
end

def periods_for_local(local_time)

(see Timezone#periods_for_local)
def periods_for_local(local_time)
  @linked_timezone.periods_for_local(local_time)
end

def transitions_up_to(to, from = nil)

(see Timezone#transitions_up_to)
def transitions_up_to(to, from = nil)
  @linked_timezone.transitions_up_to(to, from)
end