// third version of the 'date' class
// - added default value for 'year' parameter in constructor
// - added another constructor that takes a string

#ifndef DATE_H
#define DATE_H

class date
{
    int day;
    int month;
    int year;
    
  public:
    date(int d, int m, int y = currentYear());
    date(const char *);
    void getDMY(int*, int*, int*);
    void increment();
    void print();
};

#endif // DATE_H
