Share via


2.2.4.2 RecurrenceRule

The RecurrenceRule complex type defines when a recurrence takes place.

 <s:complexType name="RecurrenceRule">
   <s:sequence>
     <s:element name="firstDayOfWeek" type="tns:DayOfWeekOrMonth" />
     <s:element name="repeat" type="tns:RepeatPattern" />
     <s:choice>
       <s:element name="windowEnd" type="s:dateTime" />
       <s:element name="repeatForever">
         <s:simpleType>
           <s:restriction base="s:string">
             <s:enumeration value="FALSE" />
           </s:restriction>
         </s:simpleType>
       </s:element>
       <s:element name="repeatInstances" type="s:integer" />
     </s:choice>
   </s:sequence>
 </s:complexType>

firstDayOfWeek: Indicates which day of the week is considered the first day of the week. For example, if firstDayOfWeek is Thursday, then the second day is Friday, and so on.

repeat: Using firstDayOfWeek as the first day of the week, this element specifies the repeat pattern of the recurrence.

windowEnd: If this element is present then the recurrence ends at the date and time specified in windowEnd.

repeatForever: If this element is present then the recurrence has no end date and repeats forever.

repeatInstances: If this element is present then the recurrence ends after the number of instances specified by this element.