From 7dfef1b508256e3b629d40ea463b293792a0620e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 7 May 2022 17:03:57 +0300 Subject: Autocommit at 07.05.2022 @ 17:03 --- src/Generic/Date/Date.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Generic/Date/Date.cpp') 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; -- cgit v1.3.1-23-gd82d