MonthItem Element
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
The month item for which an exception recurrence is scheduled.
<MonthItem>
IntegerValue
</MonthItem>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Text Value
A text value of type integer is required.
Valid values are listed in Table 1.
Value |
Description |
---|---|
0 |
Day |
1 |
Weekday |
2 |
Weekend day |
3 |
Sunday |
4 |
Monday |
5 |
Tuesday |
6 |
Wednesday |
7 |
Thursday |
8 |
Friday |
9 |
Saturday |
Example
In the following example, the MonthItem element indicates that the calendar exception named Thanksgiving occurs on a Thursday.
<Exception>
<EnteredByOccurrences>0</EnteredByOccurrences>
<TimePeriod>
<FromDate>2007-11-22T00:00:00</FromDate>
<ToDate>2026-11-30T23:59:00</ToDate>
</TimePeriod>
<Occurrences>20</Occurrences>
<Name>Thanksgiving</Name>
<Type>3</Type>
<Month>10</Month>
<MonthItem>7</MonthItem>
<MonthPosition>3</MonthPosition>
<DayWorking>0</DayWorking>
</Exception>