2.7.6 TimeZone

The TimeZone structure is a structure inside of an element of the string type (section 2.7).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Bias

StandardName (64 bytes)

...

...

StandardDate (16 bytes)

...

...

StandardBias

DaylightName (64 bytes)

...

...

DaylightDate (16 bytes)

...

...

DaylightBias

Bias (4 bytes): The value of this field is a LONG, as specified in [MS-DTYP] section 2.2.27. The offset from UTC, in minutes. For example, the bias for Pacific Time (UTC-8) is 480.

StandardName (64 bytes): The value of this field is an array of 32 WCHARs, as specified in [MS-DTYP] section 2.2.60. It contains an optional description for standard time. Any unused WCHARs in the array MUST be set to 0x0000.

StandardDate (16 bytes): The value of this field is a SYSTEMTIME structure, as specified in [MS-DTYP] section 2.3.13. It contains the date and time when the transition from DST to standard time occurs.

StandardBias (4 bytes): The value of this field is a LONG. It contains the number of minutes to add to the value of the Bias field during standard time.

DaylightName (64 bytes): The value of this field is an array of 32 WCHARs. It contains an optional description for DST. Any unused WCHARs in the array MUST be set to 0x0000.

DaylightDate (16 bytes): The value of this field is a SYSTEMTIME structure. It contains the date and time when the transition from standard time to DST occurs.

DaylightBias (4 bytes): The value of this field is a LONG. It contains the number of minutes to add to the value of the Bias field during DST.

The TimeZone structure is encoded using base64 encoding prior to being inserted in an XML element. Elements with a TimeZone structure MUST be encoded and transmitted as [WBXML1.2] inline strings.