diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 10:17:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 10:17:35 +0100 |
| commit | 43515be4f21d92d66f28588bcd0dc93ee517d301 (patch) | |
| tree | 165e1f458d331730e1b5e0de6bbdf772bf5ff9cb /src/local_time.h | |
| parent | f5f45d829527a439bca012c2cfa2104a735a58f1 (diff) | |
Expand read_smpte_subtitle_test somewhat.
Diffstat (limited to 'src/local_time.h')
| -rw-r--r-- | src/local_time.h | 6 |
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 |
