DateTime::TimeZone::OlsonDB - An object to represent an Olson time zone database
This module parses the Olson database time zone definition files and creates various objects representing time zone data.
Each time zone is broken down into several parts. The first piece is an observance, which is an offset from UTC and an abbreviation. A single zone may contain many observances, reflecting historical changes in that time zone over time. An observance may also refer to a set of rules.
Rules are named, and may apply to many different zones. For example, the "US" rules apply to most of the time zones in the US, unsurprisingly. Rules are made of an offset from standard time and a definition of when that offset changes. Changes can be a one time thing, or they can recur at regular times through a span of years.
Each rule may have an associated letter, which is used to generate an abbreviated name for the time zone, along with the offset's abbreviation. For example, if the offset's abbreviation is "C%sT", and the a rule specifies the letter "S", then the abbreviation when that rule is in effect is "CST".
Not yet documented. This stuff is a mess.
Bugs may be submitted at https://github.com/houseabsolute/DateTime-TimeZone/issues.
I am also usually active on IRC as 'autarch' on
The source code repository for DateTime-TimeZone can be found at https://github.com/houseabsolute/DateTime-TimeZone.
Dave Rolsky <firstname.lastname@example.org>
This software is copyright (c) 2018 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.