1DateTime::TimeZone::OlsUosneDrB(C3o)ntributed Perl DocumDeantteaTtiimoen::TimeZone::OlsonDB(3)
2
3
4
6 DateTime::TimeZone::OlsonDB - An object to represent an Olson time zone
7 database
8
10 none yet
11
13 This module parses the Olson database time zone definition files and
14 creates various objects representing time zone data.
15
16 Each time zone is broken down into several parts. The first piece is
17 an observance, which is an offset from UTC and an abbreviation. A sin‐
18 gle zone may contain many observances, reflecting historical changes in
19 that time zone over time. An observance may also refer to a set of
20 rules.
21
22 Rules are named, and may apply to many different zones. For example,
23 the "US" rules apply to most of the time zones in the US, unsurpris‐
24 ingly. Rules are made of an offset from standard time and a definition
25 of when that offset changes. Changes can be a one time thing, or they
26 can recur at regular times through a span of years.
27
28 Each rule may have an associated letter, which is used to generate an
29 abbreviated name for the time zone, along with the offset's abbrevia‐
30 tion. For example, if the offset's abbreviation is "C%sT", and the a
31 rule specifies the letter "S", then the abbreviation when that rule is
32 in effect is "CST".
33
35 Not yet documented. This stuff is a mess.
36
38 Dave Rolsky, <autarch@urth.org>
39
41 Copyright (c) 2003-2007 David Rolsky. All rights reserved. This pro‐
42 gram is free software; you can redistribute it and/or modify it under
43 the same terms as Perl itself.
44
45 The full text of the license can be found in the LICENSE file included
46 with this module.
47
48
49
50perl v5.8.8 2007-04-02 DateTime::TimeZone::OlsonDB(3)