bdtTz {RcppBDT} | R Documentation |
Rcpp module bdtTz for binding of Boost Date_Time timezone functionality
Description
The bdtTz
module is created using Rcpp modules and wraps a
helper class bdtTz
around Boost Date_time timezone
functionality provided mainly by the Boost classes
boost::local_time::tz_database
and
boost::local_time::time_zone_ptr
.
On startup, the database object is initialized using a local copy (in csv format) of the timezone data. Instances of the timezone object, represented by an instance of the timezone pointer class, can be created and queried.
New instances can be created using a valid timezone region string (such “Europe/London”).
Details
Please consult the Boost documentation for (copious) details on the Date_Time library. See the Rcpp-modules vignette for details on Rcpp modules.
Method
- show
signature(x = "Rcpp_bdtTz")
: prints a (bdtTz) timezone class object- format
signature(x = "Rcpp_bdtTz")
: formats a (bdtTz) timezone class object
Author(s)
Dirk Eddelbuettel edd@debian.org
References
Boost Date_Time: https://www.boost.org/doc/libs/release/doc/html/date_time.html