Click or drag to resize

RecurringRule Properties

The RecurringRule type exposes the following members.

Properties
  NameDescription
Public propertyByDay
Gets or sets BYDAY parameter. List of days when event should occur. You can use static fields of Weekday class e.g. Monday.
Public propertyByHour
Gets or sets BYHOUR parameter ranging from 0 to 23.
Public propertyByMinute
Gets or sets BYMINUTE parameter ranging from 0 to 59.
Public propertyByMonthDay
Gets or sets BYMONTHDAY parameter. List of values ranging from -31 to 31.
Public propertyByMonths
Gets or sets BYMONTH parameter. List of months when event should occur ranging from 1 to 12.
Public propertyBySecond
Gets or sets BYSECOND parameter ranging from 0 to 59.
Public propertyBySetPos
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
Public propertyByWeekNumber
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.
Public propertyByYearDay
Gets or sets BYYEARDAY parameter. List of values ranging from -365 to 365.
Public propertyCount
Gets or sets how many times event will be repeated.
Public propertyFrequency
Gets or sets frequency for this rule. You can use static fields of Frequency class e.g. Weekly
Public propertyInterval
Gets or sets recurring interval of this rule.
Public propertyUntil
Gets or sets the date the until which event will be repeated (Always converted to the UTC value).
Public propertyWorkweekStarts
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.
Top
See Also