20 lines
336 B
C++
20 lines
336 B
C++
#ifndef NALOGA0201_DATE_H
|
|
#define NALOGA0201_DATE_H
|
|
|
|
#include <string>
|
|
|
|
class Date {
|
|
private:
|
|
unsigned int day, month, year;
|
|
public:
|
|
Date() = default;
|
|
|
|
Date(unsigned int day, unsigned int month, unsigned int year);
|
|
|
|
~Date() = default;
|
|
|
|
std::string toString() const;
|
|
};
|
|
|
|
#endif //NALOGA0201_DATE_H
|