共用方式為


MonthDay 元素

排定例外狀況週期的月份日期。

<MonthDay>
  IntegerValue
<MonthDay>

父項目

Exception

Occurrences

最小值:0

最大值:1

範例

在下列範例中,MonthDay 元素會指定名為 New Year's Day 的例外狀況發生在當月的第一天。

<Exception>
  <EnteredByOccurrences>0</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2026-01-01T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>20</Occurrences>
  <Name>New Year's Day</Name>
  <Type>2</Type>
  <Month>0</Month>
  <MonthDay>1</MonthDay>
  <DayWorking>0</DayWorking>
</Exception>

另請參閱

概念

行事曆元素和 XML 結構

Calendars 元素的 XML 架構