MonthPosition Element
The position of a month item within a month.
<MonthPosition>
IntegerValue
</MonthPosition>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Text Value
A text value of type integer is required.
Value |
Description |
---|---|
0 |
First position |
1 |
Second position |
2 |
Third position |
3 |
Fourth position |
4 |
Last position |
Example
In the following example, the MonthPosition element specifies that the exception named Thanksgiving occurs on the fourth Thursday of the month of November.
<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>