Method: ActiveSupport::TimeZone#period_for_utc

Defined in:
activesupport/lib/active_support/values/time_zone.rb

#period_for_utc(time) ⇒ Object

Available so that TimeZone instances respond like TZInfo::Timezone instances.

[View source]

548
549
550
# File 'activesupport/lib/active_support/values/time_zone.rb', line 548

def period_for_utc(time)
  tzinfo.period_for_utc(time)
end