mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 09:55:52 +00:00
Add current time indicator of the current day on the Calendar
This commit is contained in:
parent
ab2200ecc1
commit
e2cd994026
9 changed files with 54 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue