Extension Methods
The following methods are implemented as extension methods to be able to use them from your own implementations.
Methods available from IDisjointIntervalSet
Covers(t: DateTime) : boolCovers(i: IInterval) : boolJoin(s: IDisjointIntevalSet) : DisjointIntevalSetJoin(i: IInterval) : DisjointIntevalSetIntersect(i : IInterval) : DisjointIntevalSetConsolidate() : DisjointIntevalSet- Creates a new Set with the minimum number of intervals inside (merges together intervals that are continguous)
GetBoundingInterval() : Interval
Methods available from IInterval
Covers(t: DateTimeOffset) : bool*Shift(t: TimeSpan): Interval*Covers(i: IInterval) : bool*DurationOfIntersect(i: IInterval): TimeSpan*Intersect(i : IInterval) : Option<Interval>*Intersects(i: IInterval): boolJoin(i: IInterval): IntervalIsContiguouslyFollowedBy(i: IInterval) : boolIsContiguouslyPrecededBy(i: IInterval) : boolStartsBefore(i: IInterval) : boolToInterval(): IntervalUnion(i: IInterval) : DisjointIntervalSetSubtract(i: IInterval) : DisjointIntervalSet
Factory Methods
Interval
CreateClosed(start, end)CreateOpen(start, end)CreatePoint(start)
DisjointIntervalSet
TBD