1Date::Manip::TZdata(3)User Contributed Perl DocumentationDate::Manip::TZdata(3)
2
3
4
6 Date::Manip::TZdata -- Internal module for working with the tzdata
7 files
8
10 use Date::Manip::TZdata;
11
12 $tzd = new Date::Manip::TZdata($dir);
13
15 This module is not intended for public use. It is used internally by
16 the scripts used to analyze the time zone database and generate the
17 modules for each time zone. The module is included in the distribution
18 solely for the sake of completeness. Currently, no support is offered
19 for this module, and it can (and may) change without notice.
20
21 This module consists of routines for working with the tzdata files
22 obtained from ftp://ftp.iana.org/tz/ . These files are updated several
23 times a year and are the basis for time zone descriptions for most
24 computer systems.
25
27 new
28 use Date::Manip::TZdata;
29
30 $tzd = new Date::Manip::TZdata($dir);
31
32 This finds and reads in all the tzdata. If $dir is passed in, it is
33 the directory where a tzdata directory is located. It defaults to
34 the current directory.
35
37 Some assumptions and limitations are assumed in the logic of this
38 module.
39
40 When a time change occurs, the time may change backwards or forwards.
41 Time changes rules are listed on a per-year basis. It is assumed that
42 time changes will not occur so close to the end or start of the year as
43 to cross the year boundary (in other words, the year will not change as
44 a result of the time change). This is not accounted for, and it is
45 hoped that this situation will never occur.
46
47 Also, because this module is strictly limited to 4 digit positive years
48 (regardless of whether it is wallclock or universal time), and because
49 various parts of the module switch back and forth, valid times for this
50 module are from Jan 2, 0001 to Dec 30, 9999. This ensures that
51 conversions from wallclock to universal or vice versa will never make
52 dates occur in the year 0000 or 10000.
53
55 None known.
56
58 Please refer to the Date::Manip man page for information on submitting
59 bug reports or questions to the author.
60
62 Sullivan Beck (sbeck@cpan.org)
63
64
65
66perl v5.16.3 2014-06-09 Date::Manip::TZdata(3)