Add current time indicator of the current day on the Calendar

This commit is contained in:
Vyn 2024-11-06 18:38:42 +01:00
parent ab2200ecc1
commit e2cd994026
9 changed files with 54 additions and 8 deletions

View file

@ -48,6 +48,9 @@ struct Date {
struct Time {
explicit Time(int hour, int minute);
explicit Time(std::chrono::time_point<std::chrono::system_clock> tp);
bool operator==(const Time &other) const;
bool operator<(const Time &other) const;
bool operator>(const Time &other) const;