instance method
constant_utc_zone?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
constant_utc_zone?(period)
No documentation comment.
Parameters
-
periodreq
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 677
def constant_utc_zone?(period)
if period && period.observed_utc_offset == 0
period.abbreviation == "UTC" || period.abbreviation == "UCT"
end
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 677
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone