vendor/plugins/tztime/lib/tz_time.rb
# Returns the underlying TZInfo::TimeZonePeriod instance for the wrapped
# time.
Returns the underlying TZInfo::TimeZonePeriod instance for the wrapped
time.
Returns the underlying TZInfo :: TimeZonePeriod instance for the wrapped time .
def period(dst=true)
    t = time
    begin
      @period ||= zone.tzinfo.period_for_local(t, dst)
    rescue TZInfo::PeriodNotFound
      t -= 1.hour
      retry
    end
  end
def period ( dst = true ) t = time begin @period ||= zone . tzinfo . period_for_local ( t , dst ) rescue TZInfo :: PeriodNotFound t -= 1 . hour retry end end
Returns the underlying TZInfo::TimeZonePeriod instance for the wrapped
time.
Returns the underlying TZInfo :: TimeZonePeriod instance for the wrapped time .
dst
<not_specific>