Skip to content

Package

Zone and Offset (tag primitives), Observation, LocalResolution, ResolveError, ZonedDateTime.

Per resolutions/4 (2026-05-24), Zone and Offset are tag primitives with no instance data — they discriminate whether a ZonedDateTime's internal representation refers to an IANA-named zone (DST rules apply) or a fixed numeric offset (no DST). The actual data (name string or offset int) lives on the ZonedDateTime itself.

Per resolutions/1, the IANA-bundled tzdata (via _TzData) is the only data source. No TzProvider abstraction.

Per resolutions/2, ZonedDateTime is the only "moment in time" type — no separate Instant. Construction via now() (UTC), now_in_zone(name), or now_at_offset(sec). Stdlib bridge via to_posix(): (I64, I64).

ZonedDateTime is REF — designed for in-place mutation in tight loops.

Public Types