void inc_seconds(int seconds);
Date *clone();
void copy(Date *date);
- bool before(Date date2);
- bool equals(Date date2);
- std::string to_string();
-
+ bool before(Date *date2);
+ bool equals(Date *date2);
int year;
int month;
int day;
int hour;
int min;
int sec;
- private:
+ std::string to_string();
+ protected:
+ std::string to_sortable_string();
//static const int arr_days_per_month[];
};
}