bdtPt: Rcpp module bdtPt for binding of Boost Date_Time ptime...

Description Details Method Author(s) References

Description

The bdtDu module is created using Rcpp modules and wraps a helper class bdtPt around Boost Date_time duration functionality provided by the Boost class boost::posix_time::ptime.

New instances can be created using either a default construction (creating an unset instance) or using seven integer values for year, month, day, hour, minute, seconds and fractional seconds. Fractional seconds ought to be at a nano-second granularity; there may be platforms not permitting this.

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_bdtPt"): prints a (bdtPt) ptime class object

format

signature(x = "Rcpp_bdtPt"): formats a (bdtPt) ptime class object

Author(s)

Dirk Eddelbuettel edd@debian.org

References

Boost Date_Time: http://www.boost.org/doc/html/date_time.html


RcppBDT documentation built on May 2, 2019, 6:08 p.m.