Skip to main content

offset_at

Function offset_at 

Source
pub fn offset_at(
    transitions: &[ZoneTransition],
    base_offset: i32,
    instant_ns: i64,
) -> i32
Expand description

The UTC offset (seconds) a zone has at instant_ns. transitions must be sorted ascending by at_unix_seconds; base_offset applies before the first transition.