TimeIntervalCollectionTComplement Method (JulianDate, JulianDate) |
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<T> Complement(
JulianDate startDate,
JulianDate endDate
)
Public Function Complement (
startDate As JulianDate,
endDate As JulianDate
) As TimeIntervalCollection(Of T)
public:
TimeIntervalCollection<T>^ Complement(
JulianDate startDate,
JulianDate endDate
)
member Complement :
startDate : JulianDate *
endDate : JulianDate -> TimeIntervalCollection<'T>
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:
TimeIntervalCollectionTThe complement of this instance.
Remarks
The new TimeIntervalCollectionT is the complement of this TimeIntervalCollectionT within
the given startDate and endDate bounds. In other words,
the new TimeIntervalCollectionT 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.
All TimeIntervalT instances in the returned collection will have a default
Data property.
See Also