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.2.419.0 (24.2.419.0)
Syntax public int IndexOf(
JulianDate date
)
Public Function IndexOf (
date As JulianDate
) As Integer
public:
int IndexOf(
JulianDate date
)
member IndexOf :
date : JulianDate -> int
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