MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Date>

Method Date>

inst/include/Rcpp/date_datetime/Date.h:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 return static_cast<double>(from.getDate());
145 }
146 template<> inline Rcpp::Date caster<double,Rcpp::Date>(double from) {
147 return Rcpp::Date(static_cast<int>(from));
148 }
149 }
150
151 template<> inline SEXP wrap_extra_steps<Rcpp::Date>(SEXP x) {

Callers

nothing calls this directly

Calls 1

DateClass · 0.70

Tested by

no test coverage detected