The RecurringRule type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RecurringRule |
Creates new recurring rule.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ByDay |
Gets or sets BYDAY parameter.
List of days when event should occur. You can use static fields of Weekday class e.g. Monday.
| |
| ByHour |
Gets or sets BYHOUR parameter ranging from 0 to 23.
| |
| ByMinute |
Gets or sets BYMINUTE parameter ranging from 0 to 59.
| |
| ByMonthDay |
Gets or sets BYMONTHDAY parameter.
List of values ranging from -31 to 31.
| |
| ByMonths |
Gets or sets BYMONTH parameter.
List of months when event should occur ranging from 1 to 12.
| |
| BySecond |
Gets or sets BYSECONDS parameter ranging from 0 to 59.
| |
| BySetPos |
Gets or sets BYSETPOS parameter.
Specifies list of values which corresponds to the nth occurrence within the set of events specified by the rule.
Valid values are 1 to 366 or -366 to -1. It MUST only be used in conjunction with another BYxxx rule part.
For example "the last work day of the month" could be represented as:
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
| |
| ByWeekNumber |
Gets or sets BYWEEKNO parameter.
List of values ranging from 1 to 53 or -53 to -1.
| |
| ByYearDay |
Gets or sets BYYEARDAY parameter.
List of values ranging from -365 to 365.
| |
| Count |
Gets or sets how many times event will be repeated.
| |
| Frequency |
Gets or sets frequency for this rule. You can use static fields of Frequency class e.g. Weekly | |
| Interval |
Gets or sets recurring interval of this rule.
| |
| Until |
Gets or sets the date the until which event will be repeated (Always converted to the UTC value).
| |
| WorkweekStarts |
Gets or sets WKST parameter.
The WKST rule part specifies the day on which the workweek starts.
This is significant when a WEEKLY RRULE has an interval greater than 1, and a BYDAY rule part is specified.
This is also significant when in a YEARLY RRULE when a BYWEEKNO rule part is specified. The default value is MO.
|