bdtDd: Rcpp module bdtDd for binding of Boost Date_Time date...

bdtDdR Documentation

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

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_bdtDd"): prints a (BDTdd) date duration class object

format

signature(x = "Rcpp_bdtDd"): formats a (BDTdd) date duration 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


RcppBDT documentation built on Oct. 31, 2022, 1:07 a.m.