Thedate libraryby Howard Hinnant offers extensive date and time functionality for theC++11, C++14 and C++17 standards. A slighly modified version ofdate.h has been accepted (along withtz.h) aspart of C++20.
This package regroups all header files from the upstream repositoryby Howard Hinnant so that other R packages can use them in their C++code.
There isa lot of functionality in this library. As ateaser, consider these three compile-time instantiations ofyear_month_day types:
constexprauto x1=2015_y/March/22;constexprauto x2= March/22/2015;constexprauto x3=22_d/March/2015;See the fileinst/examples/year_month_day.cppfor the complete example, and the upstream documentation for fulldetails.
Thetz.h header requires compiled support fromtz.cppwhich is not currently included so that this remains a header-onlylibrary.
Thedaterepository and its links to documentation.
date was writtenby Howard Hinnant.
This package was put together by Dirk Eddelbuettel
The underlying library is MIT licensed.
The packaging and integrations is licensed under GPL (>= 2).
Initially created: Tue Mar 24 11:25:44 CDT 2020
Last modified: Sun May 26 10:09:44 CDT 2024