RecurringRule Class |
Namespace: Limilabs.Mail.Appointments
The RecurringRule type exposes the following members.
Name | Description | |
---|---|---|
RecurringRule |
Creates new recurring rule.
|
Name | Description | |
---|---|---|
ByDay | ||
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 BYSECOND 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.
A week is defined as a seven day period, starting on the day of the week defined to be the week start (WorkweekStarts).
Week number one of the calendar year is the first week which contains at least four (4) days in that calendar year.
This rule part is only valid for YEARLY rules. For example, 3 represents the third week of the year.
| |
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.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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 | Returns a string that represents the current object. (Inherited from Object.) |