instance method
period_for_utc
Ruby on Rails 4.1.16
Since v2.2.3 Last seen in v7.2.3Signature
period_for_utc(time)
Available so that TimeZone instances respond like TZInfo::Timezone instances.
Parameters
-
timereq
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 348
def period_for_utc(time)
tzinfo.period_for_utc(time)
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 348
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone