xt:WorkingPeriod Element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Contains the WorkingPeriod element.

Syntax

<WorkingPeriod>
  <DayOfWeek>...</DayOfWeek>
  <StartTimeInMinutes>...</StartTimeInMinutes>
  <EndTimeInMinutes>...</EndTimeInMinutes>
</WorkingPeriod>

Attributes

None

Parent Element

Element

Description

xt:WorkingPeriodArray Element

The WorkingPeriodArray element.

Child Elements

Element

Occurrence

Description

xt:DayOfWeek Element

1

The day of the week.

xt:StartTimeInMinutes

1

The start of each workday, in minutes after midnight.

xt:EndTimeInMinutes Element

1

The end of each workday, in minutes after midnight.

Examples

XML Example of the WorkingPeriod Element

<?xml version="1.0" encoding="utf-8" ?>
<calendarData xmlns="http://schemas.microsoft.com/2006/09/sip/calendarData" mailboxID="bob@contoso.com">
  <WorkingHours xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
    <TimeZone>
      <Bias>480</Bias>
      <StandardTime>
        <Bias>0</Bias>
        <Time>02:00:00</Time>
        <DayOrder>1</DayOrder>
        <Month>11</Month>
        <DayOfWeek>Sunday</DayOfWeek>
      </StandardTime>
      <DaylightTime>
        <Bias>60</Bias>
        <Time>02:00:00</Time>
        <DayOrder>2</DayOrder>
        <Month>3</Month>
        <DayOfWeek>Sunday</DayOfWeek>
      </DaylightTime>
    </TimeZone>
    <WorkingPeriodArray>
      <WorkingPeriod>
        <DayOfWeek>Monday Tuesday Wednesday Thursday Friday</DayOfWeek>
        <StartTimeInMinutes>600</StartTimeInMinutes>
        <EndTimeInMinutes>1170</EndTimeInMinutes>
      </WorkingPeriod>
    </WorkingPeriodArray>
  </WorkingHours> 
</calendarData>