pub fn project_time(
base_nanos: i64,
base_offset: Option<i32>,
new_offset: Option<i32>,
) -> (i64, i32)Expand description
Apply a time projection’s zone semantics. With a new offset: if the base
already had one (time/datetime), the wall-clock time SHIFTS to preserve
the instant; otherwise (localtime/localdatetime) the offset is simply
ATTACHED. Without a new offset, the base offset (or UTC) is kept. (ADR 0009)