Click or drag to resize

TimeIntervalCollectionTIndexOf Method (JulianDate)

Finds the index of the TimeInterval in this collection that contains the specified date.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public int IndexOf(
	JulianDate date
)

Parameters

date
Type: AGI.Foundation.TimeJulianDate
The Julian date to find.

Return Value

Type: Int32
The index of the interval that contains the date, if the date exists in the collection; otherwise, a negative number that is the bitwise complement of the index of the next interval that starts after date, or if no interval starts after the specified date, the bitwise complement of Count.
See Also