Recurrence.Every Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Every(DateTimeUnit) Returns a recurrence repeating after one instance of the specified unit.
Every(Double, DateTimeUnit) Returns a recurrence repeating after the specified number of units.

Recurrence.Every(DateTimeUnit)

Returns a recurrence repeating after one instance of the specified unit.
C#
public static Recurrence Every(
	DateTimeUnit unit
)

Parameters

unit  DateTimeUnit
The time unit of the recurrence.

Return Value

Recurrence
A recurrence every unit.

Recurrence.Every(Double, DateTimeUnit)

Returns a recurrence repeating after the specified number of units.
C#
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

Recurrence
A recurrence every count times unit.

Remarks

If unit is monthly, then count must be an integer.

Exceptions

ArgumentOutOfRangeException

count is zero.

-or-

unit is monthly, and count is not an integer.

See Also