Mercurial > minori
comparison include/core/date.h @ 47:d8eb763e6661
information.cpp: add widgets to the list tab, and add an
"optional date" widget like taiga has so users can specify whether to
set the date or not
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 25 Sep 2023 00:43:38 -0400 |
parents | 5c0397762b53 |
children | 75c804f713b2 |
comparison
equal
deleted
inserted
replaced
46:d0adc4aedfc8 | 47:d8eb763e6661 |
---|---|
6 class Date { | 6 class Date { |
7 public: | 7 public: |
8 Date(); | 8 Date(); |
9 Date(int32_t y); | 9 Date(int32_t y); |
10 Date(int32_t y, int8_t m, int8_t d); | 10 Date(int32_t y, int8_t m, int8_t d); |
11 bool IsValid() const; | |
11 void SetYear(int32_t y); | 12 void SetYear(int32_t y); |
12 void SetMonth(int8_t m); | 13 void SetMonth(int8_t m); |
13 void SetDay(int8_t d); | 14 void SetDay(int8_t d); |
14 void VoidYear(); | 15 void VoidYear(); |
15 void VoidMonth(); | 16 void VoidMonth(); |