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