Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

CDBdate Class Reference

Abstract reprsenetation of a simple calender date. More...

#include <CDB.h>

Public Member Functions

 CDBdate (const struct tm &t)
 CDBdate (const CDBdate &c)
 CDBdate ()
CDBdateoperator= (const struct tm &t)
CDBdateoperator= (const CDBdate &c)
int operator== (const CDBdate &c)

Static Public Member Functions

static CDBdate now ()
 Get current date.

Data Fields

int day
int month
int year

Detailed Description

Abstract reprsenetation of a simple calender date.

This class defines a abstract type for simple calender date. It has a resolution up to day's.

Constructor & Destructor Documentation

CDBdate  )  [inline]

CDBdate const CDBdate c  )  [inline]

CDBdate const struct tm &  t  )  [inline]

Member Function Documentation

static CDBdate now  )  [inline, static]

Get current date.

This method returns a CDBdate object with the current date.

CDBdate& operator= const struct tm &  t  )  [inline]

CDBdate& operator= const CDBdate c  )  [inline]

int operator== const CDBdate c  )  [inline]

Field Documentation

int day

int month

int year

Generated on Mon Feb 6 00:30:32 2006 for CDB by  doxygen 1.4.4