diff 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
line wrap: on
line diff
--- a/include/core/date.h	Sat Sep 23 01:02:15 2023 -0400
+++ b/include/core/date.h	Mon Sep 25 00:43:38 2023 -0400
@@ -8,6 +8,7 @@
 		Date();
 		Date(int32_t y);
 		Date(int32_t y, int8_t m, int8_t d);
+		bool IsValid() const;
 		void SetYear(int32_t y);
 		void SetMonth(int8_t m);
 		void SetDay(int8_t d);