bdtDu: Rcpp module bdtDu for binding of Boost Date_Time duration...

Description Usage Arguments Details Method Author(s) References

Description

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

New instances can be created using four integer values for hour, minute, seconds and fractional seconds. Fractional seconds ought to be at a nano-second granularity; there may be platforms not permitting this.

Usage

1
2
3
4
5
6

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_bdtDu"): prints a (BDTdu) duration class object

format

signature(x = "Rcpp_bdtDu"): formats a (BDTdu) duration class object

Author(s)

Dirk Eddelbuettel [email protected]

References

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


RcppBDT documentation built on May 29, 2017, 7:23 p.m.