diff options
Autocommit at 07.05.2022 @ 17:03
1 files changed, 1 insertions, 0 deletions
| -rw-r--r-- | src/Generic/Date/Date.cpp | 1 |
diff --git a/src/Generic/Date/Date.cpp b/src/Generic/Date/Date.cpp index 4732b0c..3df7947 100644 --- a/src/Generic/Date/Date.cpp +++ b/src/Generic/Date/Date.cpp @@ -34,6 +34,7 @@ int Date::compare(const Date& other) const { unsigned short Date::get_day() const { return day; } + bool Date::set_day(unsigned short newDay) { if (newDay == 0 || newDay > daysInMonth()) return false; |
