Recurrence.Every Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
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. |