Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / Date
diff options
context:
space:
mode:
Commitd45aaab69793fb0e5725b40ad1bba99d738ccdb5 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 09:53:24 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 09:53:24 +0300
Filesaa89780552055173e414c2daacae7a83fed797d0 /src/Generic/Date
FMI-OOP-P1_TicketSystem-d45aaab69793fb0e5725b40ad1bba99d738ccdb5.tar
FMI-OOP-P1_TicketSystem-d45aaab69793fb0e5725b40ad1bba99d738ccdb5.tar.gz
FMI-OOP-P1_TicketSystem-d45aaab69793fb0e5725b40ad1bba99d738ccdb5.zip
Parentafebef82f44a49aa249a6532e546ac12ee6c5e88 (diff)
Autocommit at 08.05.2022 @ 09:53
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/Generic/Date/Date.h3
diff --git a/src/Generic/Date/Date.h b/src/Generic/Date/Date.h
index a7c0ecb..a960678 100644
--- a/src/Generic/Date/Date.h
+++ b/src/Generic/Date/Date.h
@@ -3,6 +3,7 @@
#include <istream>
#include <ostream>
+#include "../String/String.h"
class Date {
unsigned short day;
@@ -24,6 +25,8 @@ public:
unsigned short get_year() const;
bool set_year(unsigned short year);
+ String createCStr();
+
void read(std::istream& istr);
void write(std::ostream& ostr);
int compare(const Date& other) const;