element <yearly> (local)
Namespace:
Type:
anonymous complexType
Content:
empty, 4 attributes
Defined:
locally within repeatRuleType complexType in myCalendar.xsd; see XML source
Includes:
definitions of 4 attributes
XML Representation Summary
<yearly
   
 = 
xsd:int
 = 
xsd:boolean
 = 
xsd:int
 = 
xsd:int
/>
Included in content model of elements (1):
repeat (type repeatRuleType)
Annotation
Repeat every year on a particular date. The very first occurrence is created from the parent event's startTime and endTime, but the recurrence occurs as follows: <li>Repeat yearly on [day] of [month].</li> <li>Repeat every [yearFrequency] years on [day] of [month].</li> Typically, the first occurrence is also an instance of the recurrence, but this need not be the case.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="yearly">
<xsd:annotation>
<xsd:documentation>
Repeat every year on a particular date. The very first occurrence is
created from the parent event's startTime and endTime, but the recurrence
occurs as follows:
<li>Repeat yearly on [day] of [month].</li>
<li>
Repeat every [yearFrequency] years on [day] of [month].
</li>
Typically, the first occurrence is also an instance of the recurrence,
but this need not be the case.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="yearFrequency" type="xsd:int">
<xsd:annotation>
<xsd:documentation>
This optional attribute indicates the year periodicity. By
default, it is 1 (repeat every year).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="month" type="monthValueEnum" use="required">
<xsd:annotation>
<xsd:documentation>
Specifies the month to recur on.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="day" type="dayValueEnum" use="required">
<xsd:annotation>
<xsd:documentation>
Specifies the day of the month to recur on. Value is between 1-31.
See forceExact for invalid day-month combinations.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="forceExact" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
By default, an invalid day-month-year combination will cause .NET Calendar to search backwards to
find a valid day for a particular month, year. If forceExact is true, an invalid starting
[month ,day] combination such as [6, 31] is ignored and will not be included as an instance of
the recurrence. With forceExact, .NET Calendar follows ICAL behavior.
<li>
day=31 will only pick up months that have 31 days.
</li>
<li>day=30 will pick up all months except February.</li>
<li>
day=29 will pick up all months except February, except on leap
years. February 29 is included on leap years.
</li>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; 4/4)
day
Type:
Use:
required
Defined:
locally within (this) yearly element
Specifies the day of the month to recur on. Value is between 1-31. See forceExact for invalid day-month combinations.
XML Source (see within schema source)
<xsd:attribute name="day" type="dayValueEnum" use="required">
<xsd:annotation>
<xsd:documentation>
Specifies the day of the month to recur on. Value is between 1-31.
See forceExact for invalid day-month combinations.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

forceExact
Type:
xsd:boolean, predefined
Use:
optional
Defined:
locally within (this) yearly element
By default, an invalid day-month-year combination will cause .NET Calendar to search backwards to find a valid day for a particular month, year. If forceExact is true, an invalid starting [month ,day] combination such as [6, 31] is ignored and will not be included as an instance of the recurrence. With forceExact, .NET Calendar follows ICAL behavior. <li>day=31 will only pick up months that have 31 days.</li> <li>day=30 will pick up all months except February.</li> <li>day=29 will pick up all months except February, except on leap years. February 29 is included on leap years.</li>
XML Source (see within schema source)
<xsd:attribute name="forceExact" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
By default, an invalid day-month-year combination will cause .NET Calendar to search backwards to
find a valid day for a particular month, year. If forceExact is true, an invalid starting
[month ,day] combination such as [6, 31] is ignored and will not be included as an instance of
the recurrence. With forceExact, .NET Calendar follows ICAL behavior.
<li>
day=31 will only pick up months that have 31 days.
</li>
<li>day=30 will pick up all months except February.</li>
<li>
day=29 will pick up all months except February, except on leap
years. February 29 is included on leap years.
</li>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

month
Type:
Use:
required
Defined:
locally within (this) yearly element
Specifies the month to recur on.
XML Source (see within schema source)
<xsd:attribute name="month" type="monthValueEnum" use="required">
<xsd:annotation>
<xsd:documentation>
Specifies the month to recur on.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

yearFrequency
Type:
xsd:int, predefined
Use:
optional
Defined:
locally within (this) yearly element
This optional attribute indicates the year periodicity. By default, it is 1 (repeat every year).
XML Source (see within schema source)
<xsd:attribute name="yearFrequency" type="xsd:int">
<xsd:annotation>
<xsd:documentation>
This optional attribute indicates the year periodicity. By
default, it is 1 (repeat every year).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>