Learn R Programming

RcppBDT (version 0.2.6)

bdtDt: Rcpp module bdtDt for binding of Boost Date_Time Date functionality

Description

The bdtDt module is created using Rcpp modules and wraps a helper class bdtDt around Boost Date_time date functionality provided by the Boost class boost::gregorian::date.

New instances can be created using either the default constructor (without arguments) or the constructor using year, month, date arguments.

The bdt variable is a default instance of this bdtDt reference class. It facilities accessing the member functions via utility function, see for example getEndOfBizWeek or print(bdtDt) for the available methods.

Arguments

Method

show

signature(x = "Rcpp_bdtDt"): prints a (bdtDt) date class object

format

signature(x = "Rcpp_bdtDt"): formats a (bdtDt) date class object

Author

Dirk Eddelbuettel edd@debian.org

Details

Please consult the Boost documentation for (copious) details on the Date_Time library. See the Rcpp-modules vignette for details on Rcpp modules.

References

Boost Date_Time: https://www.boost.org/doc/libs/release/doc/html/date_time.html