Logo Search packages:      
Sourcecode: rcpp version File versions  Download package

Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends

RcppDate Class Reference

List of all members.

Public Member Functions

int getDay () const
int getJDN () const
int getMonth () const
int getYear () const
 RcppDate (int Rjdn)
 RcppDate (int month_, int day_, int year_)

Static Public Attributes

static const int Jan1970Offset = 2440588
static const int QLtoJan1970Offset = 25569

Private Member Functions

void jdn2mdy ()
void mdy2jdn ()

Private Attributes

int day
int jdn
int month
int year


RcppDate operator+ (const RcppDate &date, int offset)
int operator- (const RcppDate &date1, const RcppDate &date2)
bool operator< (const RcppDate &date1, const RcppDate &date2)
std::ostream & operator<< (std::ostream &os, const RcppDate &date)
bool operator<= (const RcppDate &date1, const RcppDate &date2)
bool operator== (const RcppDate &date1, const RcppDate &date2)
bool operator> (const RcppDate &date1, const RcppDate &date2)
bool operator>= (const RcppDate &date1, const RcppDate &date2)

Detailed Description

Definition at line 47 of file Rcpp.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index