Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

date Class Reference

#include <date.h>

Collaboration diagram for date:

Collaboration graph

List of all members.

Public Member Functions

 date ()
 date (int g, int m, int a)
int get_day () const
int get_month () const
int get_year () const
void set_day (int g)
void set_month (int m)
void set_year (int a)
bool valid ()
bool compare (date d)
void nextday ()
int diff (date d)
void printdate (char c)
void printdate ()

Detailed Description

Definition at line 11 of file date.h.

Constructor & Destructor Documentation

date::date (  ) 

date::date ( int  g,
int  m,
int  a 

Member Function Documentation

int date::get_day (  )  const

int date::get_month (  )  const

int date::get_year (  )  const

void date::set_day ( int  g  ) 

void date::set_month ( int  m  ) 

void date::set_year ( int  a  ) 

bool date::valid (  ) 

bool date::compare ( date  d  ) 

Method compare. Return true if date d precedes the current date

void date::nextday (  ) 

int date::diff ( date  d  ) 

void date::printdate ( char  c  ) 

void date::printdate (  ) 

The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:48:41 2008 for GDToolkit GAPI by  doxygen 1.5.3