Method: TZInfo::TimezonePeriod#utc_total_offset

Defined in:
lib/tzinfo/timezone_period.rb

#utc_total_offsetInteger

Returns the observed offset from UTC in seconds (base_utc_offset + std_offset). This includes adjustments made for daylight savings time.

Returns:

  • (Integer)

    the observed offset from UTC in seconds.



93
94
95
# File 'lib/tzinfo/timezone_period.rb', line 93

def observed_utc_offset
  @offset.observed_utc_offset
end