Partager via


StandardTime

Topic Last Modified: 2007-10-16

The StandardTime element represents an offset from the time relative to Coordinated Universal Time (UTC) that is represented by the Bias (UTC) element. This element also contains information about the transition to standard time from daylight saving time in regions where daylight saving time is observed.

Schema Hierarchy

TimeZone (Availability)
  StandardTime

Syntax

<StandardTime>
   <Bias>int</Bias>
   <Time>string</Time>
   <DayOrder>short</DayOrder>
   <Month>short</Month>
   <DayOfWeek>Sunday or Monday or Tuesday or Wednesday or Thursday or Friday or Saturday</DayOfWeek>
   <Year>string</Year>
</StandardTime>

Type

SerializableTimeZoneTime

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

Bias

Represents the offset from the UTC offset that is identified by the Bias (UTC) element for standard time and daylight saving time. This value is in minutes.

Time

Represents the transition time of day to and from standard time and daylight saving time.

DayOrder

Represents the nth occurrence of the day that is specified in the DayOfWeek (TimeZone) element that represents the date of transition from and to standard time and daylight saving time.

Month

Represents the transition month of the year to and from standard time and daylight saving time.

DayOfWeek (TimeZone)

Represents the day of the week when the transition to and from standard time and daylight saving time occurs.

Year

Defines a time zone that changes depending on the year. This element is optional. This element was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Parent Elements

Element Description

TimeZone (Availability)

Contains elements that identify time zone information. This element also contains information about the transition between standard time and daylight saving time. The following are the XPath expressions to this element:

  • /GetUserAvailabilityResponse/FreeBusyResponseArray/FreeBusyResponse/FreeBusyView/WorkingHours/TimeZone
  • /GetUserAvailabilityRequest/TimeZone

Remarks

The StandardTime element represents an offset time that is represented by the Bias (UTC) element. When the child Bias element equals 0, the standard time is equal to the bias offset from UTC that is represented by the Bias (UTC) element.

Example

The following example shows a region where daylight saving time is observed. The transition from daylight saving time to standard time is observed at 2 A.M. on the fifth Sunday of the tenth month.

<TimeZone xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
  <Bias>480</Bias>
  <StandardTime>
    <Bias>0</Bias>
    <Time>02:00:00</Time>
    <DayOrder>5</DayOrder>
    <Month>10</Month>
    <DayOfWeek>Sunday</DayOfWeek>
  </StandardTime>
  <DaylightTime>
    <Bias>-60</Bias>
    <Time>02:00:00</Time>
    <DayOrder>1</DayOrder>
    <Month>4</Month>
    <DayOfWeek>Sunday</DayOfWeek>
  </DaylightTime>
</TimeZone>

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False