dbDate Class Reference

#include <date.h>

List of all members.

Public Member Functions

bool operator== (dbDate const &dt)
bool operator!= (dbDate const &dt)
bool operator> (dbDate const &dt)
bool operator>= (dbDate const &dt)
bool operator< (dbDate const &dt)
bool operator<= (dbDate const &dt)
int operator- (dbDate const &dt)
int operator+ (int days)
dbDateoperator+= (int days)
dbDateoperator-= (int days)
 dbDate ()
bool isValid () const
unsigned JulianDay ()
void clear ()
 dbDate (int year, int month, int day)
void MDY (int &year, int &month, int &day) const
int day ()
int month ()
int year ()
int dayOfWeek ()
char * asString (char *buf, char const *format="%d-%M-%Y") const
 CLASS_DESCRIPTOR (dbDate,(KEY(jday, INDEXED|HASHED), METHOD(year), METHOD(month), METHOD(day), METHOD(dayOfWeek)))
dbQueryExpression operator== (char const *field)
dbQueryExpression operator!= (char const *field)
dbQueryExpression operator< (char const *field)
dbQueryExpression operator<= (char const *field)
dbQueryExpression operator> (char const *field)
dbQueryExpression operator>= (char const *field)

Static Public Member Functions

static dbDate current ()
static dbQueryExpression ascent (char const *field)
static dbQueryExpression descent (char const *field)

Private Attributes

int4 jday

Friends

dbQueryExpression between (char const *field, dbDate &from, dbDate &till)


Constructor & Destructor Documentation

dbDate (  )  [inline]

dbDate ( int  year,
int  month,
int  day 
) [inline]


Member Function Documentation

bool operator== ( dbDate const &  dt  )  [inline]

bool operator!= ( dbDate const &  dt  )  [inline]

bool operator> ( dbDate const &  dt  )  [inline]

bool operator>= ( dbDate const &  dt  )  [inline]

bool operator< ( dbDate const &  dt  )  [inline]

bool operator<= ( dbDate const &  dt  )  [inline]

int operator- ( dbDate const &  dt  )  [inline]

int operator+ ( int  days  )  [inline]

dbDate& operator+= ( int  days  )  [inline]

dbDate& operator-= ( int  days  )  [inline]

static dbDate current (  )  [inline, static]

bool isValid (  )  const [inline]

unsigned JulianDay (  )  [inline]

void clear (  )  [inline]

void MDY ( int &  year,
int &  month,
int &  day 
) const [inline]

int day (  )  [inline]

int month (  )  [inline]

int year (  )  [inline]

int dayOfWeek (  )  [inline]

char* asString ( char *  buf,
char const *  format = "%d-%M-%Y" 
) const [inline]

CLASS_DESCRIPTOR ( dbDate  ,
(KEY(jday, INDEXED|HASHED), METHOD(year), METHOD(month), METHOD(day), METHOD(dayOfWeek))   
)

dbQueryExpression operator== ( char const *  field  )  [inline]

dbQueryExpression operator!= ( char const *  field  )  [inline]

dbQueryExpression operator< ( char const *  field  )  [inline]

dbQueryExpression operator<= ( char const *  field  )  [inline]

dbQueryExpression operator> ( char const *  field  )  [inline]

dbQueryExpression operator>= ( char const *  field  )  [inline]

static dbQueryExpression ascent ( char const *  field  )  [inline, static]

static dbQueryExpression descent ( char const *  field  )  [inline, static]


Friends And Related Function Documentation

dbQueryExpression between ( char const *  field,
dbDate from,
dbDate till 
) [friend]


Member Data Documentation

int4 jday [private]


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild