aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/date-time.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-18 10:17:55 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commita8ea3ba0548c30696245f74ed701ca9105f7ce5b (patch)
tree654404112997b4e6b4e8e5f9121ef79e165197ba /include/datetime/date-time.h
parentbb2ea938ba2d40d387604104ed8d975d143d04ba (diff)
downloadayatana-indicator-datetime-a8ea3ba0548c30696245f74ed701ca9105f7ce5b.tar.gz
ayatana-indicator-datetime-a8ea3ba0548c30696245f74ed701ca9105f7ce5b.tar.bz2
ayatana-indicator-datetime-a8ea3ba0548c30696245f74ed701ca9105f7ce5b.zip
get event selection up-to-date with the spec, including showing in-progress events. add unit tests to cover event priority and display order.
Diffstat (limited to 'include/datetime/date-time.h')
-rw-r--r--include/datetime/date-time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/datetime/date-time.h b/include/datetime/date-time.h
index fc83388..845716d 100644
--- a/include/datetime/date-time.h
+++ b/include/datetime/date-time.h
@@ -68,7 +68,9 @@ public:
int64_t to_unix() const;
bool operator<(const DateTime& that) const;
+ bool operator>(const DateTime& that) const;
bool operator<=(const DateTime& that) const;
+ bool operator>=(const DateTime& that) const;
bool operator!=(const DateTime& that) const;
bool operator==(const DateTime& that) const;
int64_t operator- (const DateTime& that) const;