extract_msg.structures.time_zone_struct Module

Module contents

class extract_msg.structures.time_zone_struct.TimeZoneStruct(data: bytes | None = None)[source]

Bases: object

A TimeZoneStruct, as specified in [MS-OXOCAL].

toBytes() bytes[source]
property bias: int

The time zone’s offset in minutes from UTC.

property daylightBias: int

The offset in minutes from the value of the bias field during daylight saving time.

property daylightDate: SystemTime

The date and local time that indicate when to begin using the value specified in the daylightBias field. Uses the same format as standardDate.

property daylightYear: int

The value of the daylightDate field’s year.

property standardBias: int

The offset in minutes from the value of the bias field during standard time.

property standardDate: SystemTime

The date and local time that indicate when to begin using the value specified in the standardBias field. If the time zone does not support daylight’s savings time, the month member must be 0. If the year is not 0, then it is an absolute date than only occurs once, otherwise it is a relative date that occurs yearly.

See [MS-OXOCAL] for details.

property standardYear: int

The value of the standardDate field’s year.