Mercurial > minori
comparison include/core/date.h @ 369:47c9f8502269
*: clang-format all the things
I've edited the formatting a bit. Now pointer asterisks (and reference
ampersands) are on the variable instead of the type, as well as having
newlines for function braces (but nothing else)
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 25 Jul 2025 10:16:02 -0400 |
| parents | b5d6c27c308f |
| children |
comparison
equal
deleted
inserted
replaced
| 368:6d37a998cf91 | 369:47c9f8502269 |
|---|---|
| 34 }; | 34 }; |
| 35 | 35 |
| 36 Date(); | 36 Date(); |
| 37 Date(Year y); | 37 Date(Year y); |
| 38 Date(Year y, Month m, Day d); | 38 Date(Year y, Month m, Day d); |
| 39 Date(const std::string& str); | 39 Date(const std::string &str); |
| 40 Date(const QDate& date); | 40 Date(const QDate &date); |
| 41 Date(const nlohmann::json& json); | 41 Date(const nlohmann::json &json); |
| 42 Date(Time::Timestamp timestamp); | 42 Date(Time::Timestamp timestamp); |
| 43 | 43 |
| 44 bool IsValid() const; | 44 bool IsValid() const; |
| 45 | 45 |
| 46 void SetYear(Year y); | 46 void SetYear(Year y); |
