#include <Date.h>
Definition at line 31 of file Date.h.
◆ Date() [1/6]
◆ Date() [2/6]
Rcpp::Date::Date |
( |
SEXP |
s | ) |
|
|
inline |
◆ Date() [3/6]
Rcpp::Date::Date |
( |
const int & |
dt | ) |
|
|
inline |
◆ Date() [4/6]
Rcpp::Date::Date |
( |
const double & |
dt | ) |
|
|
inline |
◆ Date() [5/6]
Rcpp::Date::Date |
( |
const std::string & |
s, |
|
|
const std::string & |
fmt = "%Y-%m-%d" |
|
) |
| |
|
inline |
◆ Date() [6/6]
Rcpp::Date::Date |
( |
const unsigned int & |
mon, |
|
|
const unsigned int & |
day, |
|
|
const unsigned int & |
year |
|
) |
| |
|
inline |
◆ baseYear()
static unsigned int Rcpp::Date::baseYear |
( |
| ) |
|
|
inlinestatic |
◆ format()
std::string Rcpp::Date::format |
( |
const char * |
fmt = "%Y-%m-%d" | ) |
const |
|
inline |
◆ getDate()
double Rcpp::Date::getDate |
( |
void |
| ) |
const |
|
inline |
◆ getDay()
int Rcpp::Date::getDay |
( |
| ) |
const |
|
inline |
◆ getMonth()
int Rcpp::Date::getMonth |
( |
| ) |
const |
|
inline |
◆ getWeekday()
int Rcpp::Date::getWeekday |
( |
| ) |
const |
|
inline |
◆ getYear()
int Rcpp::Date::getYear |
( |
| ) |
const |
|
inline |
◆ getYearday()
int Rcpp::Date::getYearday |
( |
| ) |
const |
|
inline |
◆ is_na()
int Rcpp::Date::is_na |
( |
| ) |
const |
|
inline |
◆ operator double()
Rcpp::Date::operator double |
( |
| ) |
const |
|
inline |
◆ update_tm()
void Rcpp::Date::update_tm |
( |
| ) |
|
|
inlineprivate |
◆ operator!=
◆ operator+
Date operator+ |
( |
const Date & |
date, |
|
|
int |
offset |
|
) |
| |
|
friend |
◆ operator-
double operator- |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ operator<
bool operator< |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Date |
d |
|
) |
| |
|
friend |
◆ operator<=
bool operator<= |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ operator==
bool operator== |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ operator>
bool operator> |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ operator>=
bool operator>= |
( |
const Date & |
date1, |
|
|
const Date & |
date2 |
|
) |
| |
|
friend |
◆ m_d
◆ m_tm
struct tm Rcpp::Date::m_tm |
|
private |
The documentation for this class was generated from the following file:
- inst/include/Rcpp/date_datetime/Date.h