html 设置时区,时区元素(区域设置)

时区元素(区域设置)TimeZone element (Regional Settings)

3/9/2015

本文内容

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

为时区中的区域设置定义时区。XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\CONFIG)或指定 RGNLSTNG.XML 中的时区。XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\1033\XML)。Defines a time zone for regional settings in TIMEZONE.XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\CONFIG) or specifies a time zone in RGNLSTNG.XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\1033\XML).

Hidden = "TRUE" | "FALSE"

HTMLEncode = "TRUE" | "FALSE"

ID = "Integer"

Name = "Text">

...

...

...

元素和属性Elements and attributes

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

属性Attribute

说明Description

HiddenHidden

可选属性,类型为 Boolean。Optional Boolean.

HTMLEncodeHTMLEncode

可选属性,类型为 Boolean。Optional Boolean. 如果为 TRUE,则转换嵌入的字符,以便这些字符作为文本显示在浏览器中。TRUE to convert embedded characters so that they are displayed as text in the browser. 换句话说,就是将可能与 HTML 标记混淆的字符转换为实体。In other words, characters that could be confused with HTML tags are converted to entities.

IDID

必需属性,类型为 Integer。Required Integer. 指定时区的 ID。Specifies the ID for the time zone.

名称Name

必需属性,类型为 Text。Required Text. 指定时区的名称。Specifies the name of the time zone.

子元素Child elements

父元素Parent elements

出现次数Occurrences

最小值:0Minimum: 0

最大值:无限制Maximum: Unbounded

说明Remarks

在 RGNLSTNG.XML 或 TIMEZONE.XML 的上下文之外使用 TimeZone 空元素来返回当前时区。Outside the context of RGNLSTNG.XML or TIMEZONE.XML, use an empty TimeZone element to return the current time zone.

示例Example

下面来自 TIMEZONE.XML 文件的示例定义时区。The following example from the file TIMEZONE.XML defines a time zone.

480

0

10

5

2

-60

4

1

2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值