RcppBDT (version 0.2.3)

bdtDd: Rcpp module bdtDd for binding of Boost Date_Time date duration functionality

Description

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

New instances can be created using an integer for days of duration.

Usage

days(...)
weeks(...)

Arguments

...

suitable argument, often an integer, denoting one unit of the reference duration component

Method

show

signature(x = "Rcpp_bdtDd"): prints a (BDTdd) date duration class object

format

signature(x = "Rcpp_bdtDd"): formats a (BDTdd) date duration class object

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: http://www.boost.org/doc/html/date_time.html