MonthItem 元素
排定例外狀況週期的月份專案。
<MonthItem>
IntegerValue
</MonthItem>
父項目
Occurrences
最小值:0 最大值:1 |
文字值
需要整數類型的文字值。
有效的值會列在表格 1 中。
值 |
描述 |
---|---|
0 |
日 |
1 |
工作日 |
2 |
週末 |
3 |
星期天 |
4 |
星期一 |
5 |
星期二 |
6 |
星期三 |
7 |
星期四 |
8 |
星期五 |
9 |
星期六 |
範例
在下列範例中,MonthItem 元素指出名為 Calendar 的行事曆例外狀況發生在星期四。
<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>