summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/local_time.h')
-rw-r--r--src/local_time.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h
index b1751f8b..5112307c 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -51,6 +51,9 @@ public:
std::string date () const;
std::string time_of_day (bool with_millisecond = false) const;
+ bool operator== (LocalTime const & other) const;
+ bool operator!= (LocalTime const & other) const;
+
private:
friend class ::local_time_test;
@@ -69,6 +72,9 @@ private:
int _tz_minute; ///< minutes by which this time is offset from UTC
};
+std::ostream&
+operator<< (std::ostream& s, LocalTime const & t);
+
}
#endif