#include #include using namespace std; // Declare a class to represent the Date ADT // This is file DateType.h. enum RelationType {LESS, EQUAL, GREATER}; // Compares self with someDate. class DateType { public: void Initialize(int newMonth, int newDay, int newYear); int GetMonth() const; // returns year int GetYear() const; // returns month int GetDay() const; // returns day string GetMonthAsString() const; // returns month as a string DateType Adjust(int daysAway) const; RelationType ComparedTo(DateType someDate) const; private: int year; int month; int day; };