xt:TimeZone 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.
Specifies a time-zoned time.
Syntax
<TimeZone>
<Bias>...</Bias>
<StandardTime>...</StandardTime>
<DaylightTime>...</DaylightTime>
</TimeZone>
Attributes
None
Parent Element
Element |
Description |
---|---|
An array of working hours shown on a calendar. |
Child Elements
Element |
Occurrence |
Description |
---|---|---|
1 |
Time zone offset, representing the difference in minutes between the local time in this time zone and the Coordinated Universal Time (UTC). |
|
1 |
A time-zoned time, representing the date and time in this time zone when time changes over to standard time. |
|
1 |
A time-zoned time, representing the date and time in this time zone when time changes over to daylight time in the current year for Daylight Saving Time. |
Remarks
This element is defined by Microsoft Outlook.
Examples
The following XML fragment shows how time-zoned time describes working hours shown on a calendar.
XML Example of the TimeZone Element for Working Hours on Calendar
<?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>