Recurrence Class

Represents a recurrence pattern that can be used to define date ranges.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class Recurrence
Inheritance
Object  →  Recurrence

Remarks

Use the Recurrence class to define recurrence patterns that can then be used to create date ranges.

Methods

At Returns a recurrence on the specified time of day of the current pattern.
CreateDateTimeIndex(DateTime, Int32, SortOrder) Creates an index of DateTime keys of the specified length using the specified start date.
CreateDateTimeIndex(DateTime, DateTime, Boolean, Boolean) Creates an index of DateTime keys between the specified dates.
CreateDateTimeIndex(DateTime, TimeSpan, Boolean, Boolean) Creates an index of DateTime keys from the specified start date over the specified time span.
Day Returns a recurrence on the specified day of the current pattern.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Friday Returns a monthly recurrence on a specific Friday.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Monday Returns a monthly recurrence on a specific Monday.
Month Returns a recurrence on the specified month of the current pattern.
Offset Returns a recurrence at the specified offset from the current recurrence.
Saturday Returns a monthly recurrence on a specific Saturday.
Sunday Returns a monthly recurrence on a specific Sunday.
Thursday Returns a monthly recurrence on a specific Thursday.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Tuesday Returns a monthly recurrence on a specific Tuesday.
Wednesday Returns a monthly recurrence on a specific Wednesday.

Operators

Implicit(TimeSpan to Recurrence) Implicitly converts a TimeSpan value to a Recurrence.

Fields

Daily Represents a daily recurrence.
EndOfDay Represents a daily recurrence one minute before midnight.
EndOfMonth Represents a monthly recurrence on the last day of each month.
EndOfQuarter Represents a weekly recurrence on the last day of each quarter.
EndOfYear Represents a yearly recurrence on the last day of each year.
Fridays Gets a weekly recurrence on Fridays.
Hourly Represents a recurrence every hour.
Mondays Gets a weekly recurrence on Mondays.
Monthly Represents a monthly recurrence.
Quarterly Represents a quarterly recurrence.
Saturdays Gets a weekly recurrence on Saturdays.
StartOfDay Represents a daily recurrence at midnight.
StartOfMonth Represents a monthly recurrence on the first day of the month.
StartOfQuarter Represents a weekly recurrence on the first day of the quarter.
StartOfYear Represents a yearly recurrence on the first day of the year.
Sundays Gets a weekly recurrence on Sundays.
Thursdays Gets a weekly recurrence on Thursdays.
Tuesdays Gets a weekly recurrence on Tuesdays.
Wednesdays Gets a weekly recurrence on Wednesdays.
Weekly Represents a weekly recurrence.
Yearly Represents a yearly recurrence.

See Also