|
Time Shield Library
C++ library for working with time
|
Helpers for converting supported regional time zones and UTC. More...
Topics | |
| Time zone conversion helpers | |
Files | |
| file | time_zone_conversions.hpp |
| Helpers for converting supported regional time zones and UTC. | |
| file | time_zone_offset.hpp |
| UTC offset arithmetic helpers (UTC <-> local) and TimeZoneStruct offset extraction. | |
Helpers for converting supported regional time zones and UTC.
These helpers cover:
The two-argument local-to-UTC conversion helpers keep their legacy best-effort semantics. Use resolve_local_time_ms, zone_to_gmt_ms_strict, or the policy overloads when local civil time can fall into a DST gap or fold. A nonexistent local time has no UTC candidate, while an ambiguous local time has first and second UTC occurrences. UTC-to-local conversion is single-valued; use zone_offset_at_utc / zone_offset_at_utc_ms when the effective offset matters.