Commit Graph

5 Commits

Author SHA1 Message Date
Jean-Yves Avenard
54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Jean-Yves Avenard
664088737e Bug 1163445: Part2. Add TimeUnit infinity concept. r=mattwoodrow
We use the value INT64_MAX as meaning infinity. This allows to avoid taking
more storage space than necessary but may result in unpredictable behaviour
when performing calculations.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
40e5cc7845 Bug 1159579: Add Interval and IntervalSet objects. r=mattwoodrow
Along with a TimeIntervals class that reimplement all of dom::TimeRanges
features.
2015-05-07 10:24:10 +10:00
Jean-Yves Avenard
3cba2c6e62 Bug 1159578: Add a TimeUnit object. r=mattwoodrow
A TimeUnit describes a point in time, without explicit units (it is not a
microseconds nor a second) though can be converted in one or the other.
2015-05-04 21:16:34 +10:00
Matt Woodrow
1eb445f8ba Bug 1138260 - Add typed Microseconds class and use it for the range removal algorithm. r=jya,kinetik 2015-03-03 17:38:45 +13:00