Click or drag to resize

TimeIntervalCollectionComplement Method

Computes the complement of this time interval collection.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public TimeIntervalCollection Complement(
	JulianDate startDate,
	JulianDate endDate
)

Parameters

startDate
Type: AGI.Foundation.TimeJulianDate
The earliest date to include in the complement.
endDate
Type: AGI.Foundation.TimeJulianDate
The latest date to include in the complement.

Return Value

Type: TimeIntervalCollection
The complement of this instance.
Remarks

The new TimeIntervalCollection is the complement of this TimeIntervalCollection within the given startDate and endDate bounds. In other words, the new TimeIntervalCollection will represent all dates that are between the start and end dates and that were NOT present in the original collection. Any dates before the given startDate and after the given endDate are removed.

See Also