Creates an index that contains the specified date range.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
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.
Numerical Libraries
Supported in: 6.0
Reference