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.
hours(...)
microseconds(...)
milliseconds(...)
minutes(...)
nanoseconds(...)
seconds(...)
suitable argument, often an integer, denoting one unit of the reference duration component
signature(x = "Rcpp_bdtDu")
: prints a (BDTdu) duration class object
signature(x = "Rcpp_bdtDu")
: formats a (BDTdu) duration class object
Dirk Eddelbuettel edd@debian.org
Please consult the Boost documentation for (copious) details on the Date_Time library. See the Rcpp-modules vignette for details on Rcpp modules.
Boost Date_Time: https://www.boost.org/doc/libs/release/doc/html/date_time.html