Creates an index that contains the specified date range.
Namespace: Extreme.CollectionsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Index<DateTime> CreateDateRange(
DateTime startDate,
DateTime endDate,
Recurrence recurrence
)
Public Shared Function CreateDateRange (
startDate As DateTime,
endDate As DateTime,
recurrence As Recurrence
) As Index(Of DateTime)
public:
static Index<DateTime>^ CreateDateRange(
DateTime startDate,
DateTime endDate,
Recurrence^ recurrence
)
static member CreateDateRange :
startDate : DateTime *
endDate : DateTime *
recurrence : Recurrence -> Index<DateTime>
Parameters
- startDate
- Type: SystemDateTime
The first date in the range. - endDate
- Type: SystemDateTime
The last date in the range. - recurrence
- Type: Extreme.CollectionsRecurrence
The recurrence pattern or frequency.
Return Value
Type:
IndexDateTimeAn index containing all instances between
startDate and
endDate that
match the
recurrence.
Numerical Libraries
Supported in: 5.x
Reference