Creates an index of
DateTime keys between the specified dates.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Index<DateTime> CreateDateTimeIndex(
DateTime startDate,
DateTime endDate,
bool startInclusive = false,
bool endInclusive = false
)
Public Function CreateDateTimeIndex (
startDate As DateTime,
endDate As DateTime,
Optional startInclusive As Boolean = false,
Optional endInclusive As Boolean = false
) As Index(Of DateTime)
public:
Index<DateTime>^ CreateDateTimeIndex(
DateTime startDate,
DateTime endDate,
bool startInclusive = false,
bool endInclusive = false
)
member CreateDateTimeIndex :
startDate : DateTime *
endDate : DateTime *
?startInclusive : bool *
?endInclusive : bool
(* Defaults:
let _startInclusive = defaultArg startInclusive false
let _endInclusive = defaultArg endInclusive false
*)
-> Index<DateTime>
Parameters
- startDate
- Type: SystemDateTime
The first date in the index. - endDate
- Type: SystemDateTime
The last date in the index. - startInclusive (Optional)
- Type: SystemBoolean
Indicates whether the entire range should be included,
even if the first date extends past startDate. - endInclusive (Optional)
- Type: SystemBoolean
Indicates whether the entire range should be included,
even if the last date extends past endDate.
Return Value
Type:
IndexDateTimeAn index containing dates following the recurrence pattern
between
startDate and
endDate, inclusive.
If
startDate is larger than
endDate,
the dates in the index are in descending order, most recent date first.
Reference