Sdílet prostřednictvím


DaylightTime

Topic Last Modified: 2007-10-16

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

Schema Hierarchy

TimeZone (Availability)
  DaylightTime

Syntax

<DaylightTime>
   <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>
</DaylightTime>

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

Used to define 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.

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

Example

The following partial GetUserAvailability request represents a client application in a location that recognizes daylight saving time.

<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