= private = protected
utc_offset()
Returns the offset of this time zone from UTC in seconds.
# File activesupport/lib/active_support/values/time_zone.rb, line 310 def utc_offset @utc_offset || tzinfo&.current_period&.base_utc_offset end