/********************************************************************************************
date.h
********************************************************************************************/
#include <iostream>
using namespace std;

//class definition
class Date {
    private:
        int year;  // 0-????
        int month; // 0-11 --> prints 1-12
        int day;   // 0-29 --> prints 1-30
    public:
        Date(const int m=1, const int d=1, const int y=1980); //constructor with inits
        void print(ostream& out = cout) const; 
        void addYear(const int y); 
        void addMonth(const int m); 
        void addDay(const int d);
        void addDate(const Date& D);
};