Share via


Period 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 period of recurrence for the calendar exception.

<Period>
  IntegerValue
</Period>

Parent Elements

Exception

Occurrences

Minimum: 0

Maximum: 1

Example

In the following example, the Period element indicates that the calendar exception named Team Meeting occurs once every two weeks.

<Exception>
  <EnteredByOccurrences>1</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2007-12-26T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>52</Occurrences>
  <Name>Team Meeting</Name>
  <Type>6</Type>
  <Period>2</Period>
  <DaysOfWeek>8</DaysOfWeek>
  <DayWorking>1</DayWorking>
  <WorkingTimes>
    <WorkingTime>
      <FromTime>08:00:00</FromTime>
      <ToTime>12:00:00</ToTime>
    </WorkingTime>
    <WorkingTime>
      <FromTime>13:00:00</FromTime>
      <ToTime>14:00:00</ToTime>
    </WorkingTime>
    <WorkingTime>
      <FromTime>15:00:00</FromTime>
      <ToTime>16:00:00</ToTime>
    </WorkingTime>
  </WorkingTimes>
</Exception>

See Also

Concepts

Calendar Elements and XML Structure

XML Schema for the Calendars Element