Added Interval::containsInstant(), containsInterval()