[Rcpp-devel] Rcpp::Date bug
djsamperi at gmail.com
Sat Dec 4 21:04:56 CET 2010
Since RcppDate (classic class) is moving out of Rcpp I'm trying
to use Rcpp::Date and there seems to be a small problem.
getYear() method adds 1900 when it shouldn't, so 2001 becoms 3901,
I assume that Rcpp::Date and Rcpp::Datetime are intended to be
replacements for RcppDate and RcppDatetime, resp., but
they seem to be missing std::ostream operator<<().
Rcpp::Date also seems to have more timezone related logic.
Is there documentation on this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel