0 | module IotaTime.Tzdb.Windows.Types
2 | import IotaTime.TimeZone.Core
8 | record WindowsTransitionDate where
9 | constructor MkWindowsTransitionDate
21 | record WindowsZoneRule where
22 | constructor MkWindowsZoneRule
23 | biasMinutes : Integer
24 | standardBiasMinutes : Integer
25 | daylightBiasMinutes : Integer
26 | standardName : String
27 | daylightName : String
28 | daylightStart : WindowsTransitionDate
29 | standardStart : WindowsTransitionDate
33 | record WindowsDynamicRule where
34 | constructor MkWindowsDynamicRule
35 | effectiveYear : Integer
36 | dynamicRule : WindowsZoneRule
40 | record WindowsRegistryZone where
41 | constructor MkWindowsRegistryZone
42 | registryZoneId : String
43 | registryStandardName : String
44 | registryDaylightName : String
45 | registryDefaultTzi : List Bits8
46 | registryDynamicTzi : List (Integer, List Bits8)
50 | record WindowsRegistrySnapshot where
51 | constructor MkWindowsRegistrySnapshot
52 | snapshotLocalZoneId : String
53 | snapshotZones : List WindowsRegistryZone
56 | data WindowsZoneError
57 | = WindowsOffsetOutOfRange Integer
58 | | WindowsTimeOutOfRange Integer Integer Integer
59 | | WindowsTransitionMillisecondsUnsupported Integer
60 | | WindowsAbsoluteTransitionUnsupported Integer
61 | | IncompleteWindowsDaylightRule
62 | | WindowsTziLength Integer
63 | | WindowsRecurrenceError RecurrenceRuleError
66 | data WindowsTimeZoneError
67 | = InvalidWindowsRule WindowsZoneError
68 | | InvalidWindowsTransitions TimeZoneError
69 | | DynamicYearsNotStrictlyIncreasing
72 | data WindowsRegistryError
73 | = InvalidDefaultTzi WindowsZoneError
74 | | InvalidDynamicTzi Integer WindowsZoneError
75 | | InvalidRegistryTimeZone WindowsTimeZoneError
78 | data WindowsRegistryProtocolError
79 | = MissingLocalZoneId
80 | | UnexpectedRegistryLine String
81 | | InvalidRegistryHex String
82 | | InvalidDynamicRegistryLine String
83 | | IncompleteRegistryZone