35 std::string
getNextDate(
int month,
int day,
int year);
43 bool isLeapYear(
int year);
52 bool isValidDate(
int month,
int day,
int year);
60 int daysInMonth(
int month,
int year);
A class to calculate the next date given a current date.
Definition: NextDate.h:21
std::string getNextDate(int month, int day, int year)
Calculates the next date given the current date.
Definition: NextDate.cpp:24
NextDate()
Default constructor for NextDate.
Definition: NextDate.cpp:14