[libc-commits] [PATCH] D130405: Implement TZ Variable Parsing Function.

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 22 18:12:52 PDT 2022


rtenneti created this revision.
Herald added subscribers: libc-commits, mgorny.
Herald added projects: libc-project, All.
rtenneti requested review of this revision.

This function takes in a string in the format of
https://datatracker.ietf.org/doc/html/rfc8536 and returns the
struct that will be used by LLVM libc for the date functions.

This commit does not connect this parser to any date functions,
that will be done in subsequent changes.

Tested:
Unit tests

Co-authored-by: Jeff Bailey <jeffbailey at google.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130405

Files:
  libc/src/time/CMakeLists.txt
  libc/src/time/time_zone_posix.cpp
  libc/src/time/time_zone_posix.h
  libc/test/src/time/CMakeLists.txt
  libc/test/src/time/TZHelper.h
  libc/test/src/time/TZMatcher.h
  libc/test/src/time/time_zone_posix_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130405.447017.patch
Type: text/x-patch
Size: 31464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220723/d11e40e7/attachment-0001.bin>


More information about the libc-commits mailing list