MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Datetime

Method Datetime

inst/include/Rcpp/api/meat/Datetime.h:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace Rcpp {
24
25 inline Datetime::Datetime(SEXP d) {
26 m_dt = Rcpp::as<double>(d);
27 update_tm();
28 }
29
30 inline Datetime::Datetime(const std::string &s, const std::string &fmt) {
31 Rcpp::Function strptime("strptime"); // we cheat and call strptime() from R

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected