Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R0 | Territory number, or -1 for current territory |
R1 | 5 (reason code) |
R2 | Timezone within territory |
R3 | Year, or -1 for current |
R4 | Pointer to buffer to receive UTC 5-byte time for when DST starts |
R5 | Pointer to buffer to receive UTC 5-byte time for when DST ends |
Exit | |
---|---|
- | Buffers at R4 and R5 updated |
This SWI can be used to determine when DST starts and stops for a given year.
The returned time values will be within the indicated year. Depending on the territory, this may result in the end time being before the start time; e.g. territories in the southern hemisphere.
An error will be returned if the territory module does not have sufficient knowledge of the DST rules for the indicated year (error &197, “No rule for given timezone”)
This SWI was introduced in TerritoryManager 0.47