-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Description
Filing this issue to track the work to make zoneinfo64 usable by temporal_rs.
temporal_rs does all timezone computation through one trait, [TimeZoneProvider
]. It does normalization and canonicalization, which is out of scope for zoneinfo64, but the rest is important here.
It has three main endpoints:
- get_named_tz_epoch_nanoseconds: getting the potential epoch nanoseconds corresponding to a local datetime in a given timezone (this can have multiple results if it's during a transition)
- get_named_tz_offset_nanoseconds: getting the offset for a given epoch nanoseconds value.
- get_named_tz_transition: getting the next/previous timezone transition from a given epoch nanoseconds, if any
(These APIs likely should be renamed, but they are what they are right now)
Metadata
Metadata
Assignees
Labels
C-time-zoneComponent: Time ZonesComponent: Time Zones