class TZInfo::LinkedTimezone
:nodoc:
def period_for_utc(utc)
information in utc is ignored (it is treated as a UTC time).
a DateTime, Time or integer timestamp (Time.to_i). Any timezone
Returns the TimezonePeriod for the given UTC time. utc can either be
:nodoc:
def period_for_utc(utc) @linked_timezone.period_for_utc(utc) end
def periods_for_local(local)
period_for_local instead and specify how abiguities should be resolved.
local time as an array. If you just want a single period, use
Returns the set of TimezonePeriod instances that are valid for the given
def periods_for_local(local) @linked_timezone.periods_for_local(local) end
def setup(info)
def setup(info) super(info) @linked_timezone = Timezone.get(info.link_to_identifier) end