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.2.419.0 (24.2.419.0)
Syntax public TimeIntervalCollection Complement(
JulianDate startDate,
JulianDate endDate
)
Public Function Complement (
startDate As JulianDate,
endDate As JulianDate
) As TimeIntervalCollection
public:
TimeIntervalCollection^ Complement(
JulianDate startDate,
JulianDate endDate
)
member Complement :
startDate : JulianDate *
endDate : JulianDate -> TimeIntervalCollection
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:
TimeIntervalCollectionThe 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