Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / Date / Date.cpp
diff options
context:
space:
mode:
Commit7dfef1b508256e3b629d40ea463b293792a0620e (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 17:03:57 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 17:03:57 +0300
Files6e94da242770a0b82d91b8b3e11967f79cdf2815 /src/Generic/Date/Date.cpp
FMI-OOP-P1_TicketSystem-7dfef1b508256e3b629d40ea463b293792a0620e.tar
FMI-OOP-P1_TicketSystem-7dfef1b508256e3b629d40ea463b293792a0620e.tar.gz
FMI-OOP-P1_TicketSystem-7dfef1b508256e3b629d40ea463b293792a0620e.zip
Parent45f1bf728d1a0bdf21e657687d1d86d37abd5c8f (diff)
Autocommit at 07.05.2022 @ 17:03
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/Generic/Date/Date.cpp1
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;