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