Skip to content

[libc++][chrono] Loads tzdata.zi in tzdb. - #74928

Merged
mordante merged 3 commits into
llvm:mainfrom
mordante:GH-load_tzdata
Feb 17, 2024
Merged

mordante merged 3 commits into
llvm:mainfrom
mordante:GH-load_tzdata

Conversation

@mordante

@mordante mordante commented Dec 9, 2023

Copy link
Copy Markdown
Member

This implements the loading of the tzdata.zi file and store its contents in the tzdb struct.

This adds all required members except:

  • the leap seconds,
  • the locate_zone, and
  • current_zone.

The class time_zone is incomplete and only contains the parts needed for storing the parsed data.

The class time_zone_link is fully implemented including its non-member functions.

Implements parts of:

  • P0355 Extending to Calendars and Time Zones
  • P1614 The Mothership has Landed

Implements:

  • P1982 Rename link to time_zone_link

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants