summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 10:17:35 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 10:17:35 +0100
commit43515be4f21d92d66f28588bcd0dc93ee517d301 (patch)
tree165e1f458d331730e1b5e0de6bbdf772bf5ff9cb /src/local_time.h
parentf5f45d829527a439bca012c2cfa2104a735a58f1 (diff)
Expand read_smpte_subtitle_test somewhat.
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