Skip to main content

local_offset

Function local_offset 

Source
pub fn local_offset(mytime: i64, zone: &dyn TimeZone) -> (i32, i64)
Expand description

The part of DetermineTimeZoneOffsetInternal after the fields: the offset west of UTC of a local time in seconds since 1970-01-01 in a zone, and the instant. In a gap the local time is in the offset before the change, and in an overlap it is in the offset after the change.