Recurrence.Every Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Every( | Returns a recurrence repeating after one instance of the specified unit. |
Every( | Returns a recurrence repeating after the specified number of units. |
Every(DateTimeUnit)
Returns a recurrence repeating after one instance of the specified unit.
public static Recurrence Every(
DateTimeUnit unit
)
Parameters
- unit DateTimeUnit
- The time unit of the recurrence.
Return Value
RecurrenceA recurrence every unit.
Every(Double, DateTimeUnit)
Returns a recurrence repeating after the specified number of units.
public static Recurrence Every(
double count,
DateTimeUnit unit
)
Parameters
- count Double
- The number of units between occurrences.
- unit DateTimeUnit
- The unit of count.
Return Value
RecurrenceA recurrence every count times unit.
Remarks
If unit is monthly, then
count must be an integer.
Exceptions
Argument | count is zero. -or- unit is monthly, and count is not an integer. |