diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-19 12:45:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-19 12:45:49 +0100 |
| commit | d1ed2647b9ed99571a33fc40ab2372cb7999bef0 (patch) | |
| tree | f50a721c5ffa8010202531fa3b85c0682f5efcdb /src/local_time.h | |
| parent | cedab18b03fa06370b78355937be10c104cf0aad (diff) | |
Add some more operators to LocalTime.
Diffstat (limited to 'src/local_time.h')
| -rw-r--r-- | src/local_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h index e1baedcc..7c91db3e 100644 --- a/src/local_time.h +++ b/src/local_time.h @@ -157,7 +157,9 @@ public: bool operator== (LocalTime const & other) const; bool operator!= (LocalTime const & other) const; bool operator< (LocalTime const & other) const; + bool operator<=(LocalTime const & other) const; bool operator>(LocalTime const & other) const; + bool operator>=(LocalTime const & other) const; private: friend struct ::local_time_basic_test; |
