Software application programming interfaces (APIs), frameworks, and databases don’t always account for situations in which the rules for time zones and daylight saving time (DST) change. Software programmers frequently find dealing with dates, times, time-zone, and changes to DST rules to be unintuitive and error prone. This disclosure describes simple, intuitive techniques that enable developers to work with dates and times in a consistent manner free of unpredictable time or duration shifts. The disclosure defines primitive, derived, and chained date-times, notions incorporated transparently into the programming model that result in predictable date and time behavior under updates to time-zone rules.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.