comparison include/core/date.h @ 85:c69230dc2b5d

*: cleanup includes
author Paper <mrpapersonic@gmail.com>
date Sun, 29 Oct 2023 00:57:03 -0400
parents 75c804f713b2
children f88eda79c60a
comparison
equal deleted inserted replaced
84:eab9e623eb84 85:c69230dc2b5d
1 #ifndef __core__date_h 1 #ifndef __core__date_h
2 #define __core__date_h 2 #define __core__date_h
3
3 #include "json.h" 4 #include "json.h"
4 #include <QDate> 5 #include <QDate>
5 #include <cstdint> 6 #include <cstdint>
7
6 class Date { 8 class Date {
7 public: 9 public:
8 Date(); 10 Date();
9 Date(unsigned int y); 11 Date(unsigned int y);
10 Date(unsigned int y, unsigned int m, unsigned int d); 12 Date(unsigned int y, unsigned int m, unsigned int d);
31 large bit precisions aren't exactly useful here... */ 33 large bit precisions aren't exactly useful here... */
32 std::shared_ptr<unsigned int> year; 34 std::shared_ptr<unsigned int> year;
33 std::shared_ptr<unsigned int> month; 35 std::shared_ptr<unsigned int> month;
34 std::shared_ptr<unsigned int> day; 36 std::shared_ptr<unsigned int> day;
35 }; 37 };
38
36 #endif // __core__date_h 39 #endif // __core__date_h