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.
This is the easiest to ensure consistency when making calculations on them.
Along with a TimeIntervals class that reimplements all of dom::TimeRanges features.