22 #ifndef Rcpp__Datetime_h
23 #define Rcpp__Datetime_h
34 Datetime(
const std::string &s,
const std::string &fmt=
"%Y-%m-%d %H:%M:%OS");
77 template<>
inline double caster<Rcpp::Datetime,double>(
Rcpp::Datetime from){
78 return from.getFractionalTimestamp() ;
80 template<>
inline Rcpp::Datetime caster<double,Rcpp::Datetime>(
double from){
85 template<> SEXP wrap_extra_steps<Rcpp::Datetime>( SEXP
x ) ;