Skip to main content

at_offset

Function at_offset 

Source
pub fn at_offset(
    time: NaiveDateTime,
    offset: FixedOffset,
) -> DateTime<FixedOffset>
Expand description

Applies the operator’s offset to a wall-clock time from the agent.

A fixed offset, not a zone: there is nothing in the file to say which of two possible offsets a given day was recorded in, so one is chosen for all of them and stated plainly in the output (ADR 0006).