extract_msg.structures.tz_rule Module
Module contents
- final class extract_msg.structures.tz_rule.TZRule(data: bytes | None = None)[source]
Bases:
object
A TZRule structure, as defined in [MS-OXOCAL].
- 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 majorVersion: int
The major version.
- property minorVersion: int
The minor version.
- 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 year: int
The year this rule is scheduled to take place. A rule will remain in effect from January 1 of it’s year until January 1 of the next rule’s year field. If no rules exist for subsequent years, this rule will remain in effect indefinately.