moved timerange functions to timerange class

This commit is contained in:
itsmattkc
2019-11-17 12:29:09 +09:00
parent cd69bd76b9
commit c6d5fbae8c
2 changed files with 27 additions and 0 deletions
+6
View File
@@ -18,6 +18,12 @@ public:
bool operator==(const TimeRange& r) const;
bool OverlapsWith(const TimeRange& a) const;
TimeRange CombineWith(const TimeRange& a) const;
static bool Overlap(const TimeRange& a, const TimeRange& b);
static TimeRange Combine(const TimeRange &a, const TimeRange &b);
private:
void normalize();