Creates an index that contains the specified date range.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Index<DateTime> CreateDateRange(
DateTime startDate,
int length,
Recurrence recurrence
)
Public Shared Function CreateDateRange (
startDate As DateTime,
length As Integer,
recurrence As Recurrence
) As Index(Of DateTime)
public:
static Index<DateTime>^ CreateDateRange(
DateTime startDate,
int length,
Recurrence^ recurrence
)
static member CreateDateRange :
startDate : DateTime *
length : int *
recurrence : Recurrence -> Index<DateTime>
Parameters
- startDate
- Type: SystemDateTime
The first date in the range. - length
- Type: SystemInt32
The number of dates in the index. - recurrence
- Type: Extreme.DataAnalysisRecurrence
The recurrence pattern or frequency.
Return Value
Type:
IndexDateTimeAn index containing
length days
starting at
startDate.
Reference