#include <date.h>
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) |
| dbDate & | operator+= (int days) |
| dbDate & | operator-= (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) |
| dbDate | ( | ) | [inline] |
| dbDate | ( | int | year, | |
| int | month, | |||
| int | day | |||
| ) | [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] |
| 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] |
| dbQueryExpression between | ( | char const * | field, | |
| dbDate & | from, | |||
| dbDate & | till | |||
| ) | [friend] |