struct EE::System::TimeOfDay¶
Civil wall-clock time without timezone semantics. Arithmetic wraps within the day and preserves smaller units.
#include <datetime.hpp> struct TimeOfDay { // fields Uint8 hour { 0 }; Uint8 minute { 0 }; Uint8 second { 0 }; Uint16 millisecond { 0 }; // methods bool isValid() const; TimeOfDay addHours(Int64 hours) const; TimeOfDay addMinutes(Int64 minutes) const; TimeOfDay addSeconds(Int64 seconds) const; auto operator(const TimeOfDay&) const; static TimeOfDay now(); };