StandardTime

StandardTime 元素表示相对于协调世界时 (UTC) 的时间偏移量,该偏移量由 Bias (UTC) 元素表示。 此元素还包含有关从观测到夏令时的区域中的夏令时转换为标准时间的信息。

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

SerializableTimeZoneTime

属性和元素

下面各部分介绍了属性、子元素和父元素。

Attributes

无。

子元素

元素 说明
偏置 表示标准时间和夏令时偏 置 (UTC) 元素所标识的 UTC 偏移量。 此值以分钟为单位。
Time 表示一天到标准时间和夏令时之间的转换时间。
DayOrder 表示 在 DayOfWeek (TimeZone) 元素中指定的_n_th日期,该元素表示从 和 到标准时间和夏令时的转换日期。
Month 表示从标准时间和夏令时转换月份的年份。
DayOfWeek (TimeZone) 表示从标准时间和夏令时转换到和从标准时间和夏令时转换的星期几。
Year 定义根据年份变化的时区。 此元素为可选。 在 Microsoft Exchange Server 2007 Service Pack 1 (SP1) 引入了此元素。

父元素

元素 说明
TimeZone (Availability) 包含标识时区信息的元素。 此元素还包含有关标准时间和夏令时之间的转换的信息。 下面是此元素的 XPath 表达式: /GetUserAvailabilityResponse/FreeBusyResponseArray/FreeBusyResponse/FreeBusyView/WorkingHours/TimeZone/GetUserAvailabilityRequest/TimeZone

备注

StandardTime 元素表示由 Bias (UTC) 元素表示的偏移时间。 当子 Bias 元素等于 0 时,标准时间等于与 UTC 的偏差偏移量,该偏移量由 Bias (UTC) 元素表示。

示例

以下示例显示了一个观察到夏令时的区域。 从夏令时到标准时间的转换在第十个月的第五个星期天凌晨 2 点观察到。

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

元素信息

元素 示例
命名空间 https://schemas.microsoft.com/exchange/services/2006/types
架构名称 类型架构
验证文件 Types.xsd
可以为空 False

另请参阅