Method: TZInfo::TimezonePeriod#observed_utc_offset
- Defined in:
- lib/tzinfo/timezone_period.rb
#observed_utc_offset ⇒ Integer Also known as: utc_total_offset
Returns the observed offset from UTC in seconds (base_utc_offset +
std_offset
). This includes adjustments made for daylight savings time.
90 91 92 |
# File 'lib/tzinfo/timezone_period.rb', line 90 def observed_utc_offset @offset.observed_utc_offset end |