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
18 single zone may contain many observances, reflecting historical changes
19 in 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,
24 unsurprisingly. Rules are made of an offset from standard time and a
25 definition of when that offset changes. Changes can be a one time
26 thing, or they 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
30 abbreviation. For example, if the offset's abbreviation is "C%sT", and
31 the a rule specifies the letter "S", then the abbreviation when that
32 rule is 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-2008 David Rolsky. All rights reserved. This
42 program is free software; you can redistribute it and/or modify it
43 under 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.10.1 2017-03-21 DateTime::TimeZone::OlsonDB(3)