instance method
period
Ruby on Rails 5.2.8.1
Since v2.2.3Signature
period()
Returns the underlying TZInfo::TimezonePeriod.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 73
def period
@period ||= time_zone.period_for_utc(@utc)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 73
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone