Type: | Package |
Title: | 'date' C++ Header Library for Date and Time Functionality |
Version: | 0.0.6 |
Date: | 2025-05-29 |
Description: | A header-only C++ library is provided with support for dates, time zones, ISO weeks, Julian dates, and Islamic dates. 'date' offers extensive date and time functionality for the C++11, C++14 and C++17 standards and was written by Howard Hinnant and released under the MIT license. A slightly modified version has been accepted (along with 'tz.h') as part of C++20. This package regroups all header files from the upstream repository by Howard Hinnant so that other R packages can use them in their C++ code. At present, few of the types have explicit 'Rcpp' wrappers though these may be added as needed. |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
Suggests: | Rcpp |
URL: | https://github.com/eddelbuettel/rcppdate, https://dirk.eddelbuettel.com/code/rcpp.date.html |
BugReports: | https://github.com/eddelbuettel/rcppdate/issues |
NeedsCompilation: | no |
Packaged: | 2025-05-29 10:46:52 UTC; edd |
Author: | Dirk Eddelbuettel |
Maintainer: | Dirk Eddelbuettel <edd@debian.org> |
Repository: | CRAN |
Date/Publication: | 2025-05-29 14:50:09 UTC |
'date' C++ Header Library for Date and Time Functionality
Description
A header-only C++ library is provided with support for dates, time zones, ISO weeks, Julian dates, and Islamic dates. 'date' offers extensive date and time functionality for the C++11, C++14 and C++17 standards and was written by Howard Hinnant and released under the MIT license. A slightly modified version has been accepted (along with 'tz.h') as part of C++20. This package regroups all header files from the upstream repository by Howard Hinnant so that other R packages can use them in their C++ code. At present, few of the types have explicit 'Rcpp' wrappers though these may be added as needed.
Package Content
Index of help topics:
RcppDate-package 'date' C++ Header Library for Date and Time Functionality
Maintainer
Dirk Eddelbuettel <edd@debian.org>
Author(s)
Dirk Eddelbuettel [aut, cre] (ORCID: <https://orcid.org/0000-0001-6419-907X>), Howard Hinnant [aut] (author of 'date' library)
Examples
## see the source files in the examples/ directory of the package
## check for (optional, only in Suggests:) Rcpp, and ensure we are
## not on Windows as this runs up to the ten second time limit
if (requireNamespace("Rcpp", quietly=TRUE) && (.Platform$OS.type != "windows")) {
Rcpp::sourceCpp(system.file("examples", "year_month_day.cpp", package="RcppDate"))
}