RcppCCTZ uses Rcpp to bring CCTZ to R. CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone. In fact, it is two libraries. One for dealing with civil time: human-readable dates and times, and one for converting between between absolute and civil times via time zones. And while CCTZ is made by Google(rs), it is not an official Google product. The RcppCCTZ page has a few usage examples and details. This package was the first CRAN package to use CCTZ; by now at least three others do—using copies in their packages which remains less than ideal.
Changes in version 0.2.7 (2020-03-18)
_RcppCCTZ_convertToCivilSecondthat converts a time point to the number of seconds since epoch, and
_RcppCCTZ_convertToTimePointthat converts a number of seconds since epoch into a time point; these functions are only callable from C level (Leonardo in #34 and #35).
_RcppCCTZ_getOffsetthat returns the offset at a speficied time-point for a specified timezone; this function is only callable from C level (Leonardo in #32).