#include <cmath>
#include <ostream>
#include <iomanip>
+#include <cstdio>
class dcpomatic_round_up_test;
return (from <= other && other < to);
}
+ bool operator< (TimePeriod<T> const & o) const {
+ if (from != o.from) {
+ return from < o.from;
+ }
+ return to < o.to;
+ }
+
bool operator== (TimePeriod<T> const & other) const {
return from == other.from && to == other.to;
}
+
+ bool operator!= (TimePeriod<T> const & other) const {
+ return !(*this == other);
+ }
};
typedef TimePeriod<ContentTime> ContentTimePeriod;