Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DateTime / DateTime.h
diff options
context:
space:
mode:
1 files changed, 16 insertions, 0 deletions
-rw-r--r--src/DateTime/DateTime.h16
diff --git a/src/DateTime/DateTime.h b/src/DateTime/DateTime.h
new file mode 100644
index 0000000..5f4e545
--- /dev/null
+++ b/src/DateTime/DateTime.h
@@ -0,0 +1,16 @@
+#ifndef HEADER_DATETIME
+#define HEADER_DATETIME
+
+class DateTime {
+ unsigned hour;
+ unsigned minute;
+ unsigned day;
+ unsigned month;
+ unsigned year;
+
+public:
+ DateTime(unsigned hour, unsigned minute, unsigned day, unsigned month, unsigned year);
+ int compare(const DateTime& other);
+};
+
+#endif