consolidate all repos to one for archive
This commit is contained in:
7
semester_2/programiranje_2/naloga0402/Date.cpp
Normal file
7
semester_2/programiranje_2/naloga0402/Date.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "Date.h"
|
||||
|
||||
Date::Date(unsigned int day, unsigned int month, unsigned int year) : day(day), month(month), year(year) {}
|
||||
|
||||
std::string Date::toString() const {
|
||||
return std::to_string(day) + ", " + std::to_string(month) + ", " + std::to_string(year);
|
||||
}
|
||||
Reference in New Issue
Block a user