Commit Graph

4 Commits

Author SHA1 Message Date
trav90 0056931b50 Add IntervalSet::Contains(Interval) method 2018-07-25 01:27:26 +08:00
trav90 53e1be495e Add TimeUnit infinity concept
We use the value INT64_MAX as meaning infinity. This allows to void taking more storage space than necessary but may result in  unpredictable behavior when performing calculations.
2018-07-25 01:27:25 +08:00
trav90 a40a8e91a0 Keep IntervalSet normalized
This is the easiest to ensure consistency when making calculations on them.
2018-07-25 01:27:22 +08:00
trav90 7342a619c0 Add Interval and IntervalSet objects
Along with a TimeIntervals class that reimplements all of dom::TimeRanges features.
2018-07-25 01:19:34 +08:00