1Olson::Abbreviations(3)User Contributed Perl DocumentatioOnlson::Abbreviations(3)
2
3
4
6 Olson::Abbreviations -globally unique timezones abbreviation handling
7
9 This module should help you with converting commonly used and often
10 ambigious olson abbreviations into TZ offset notation.
11
12 NOT COMPLETE
13 This module is released as 0.01 because it is useful. It is not
14 complete. In order to be complete in the author's eyes this module must
15 accept a locale and disambiguate based on that.
16
17 EST is not ambigious if your standing in the US or in Austrailia. This
18 module should handle this properly in the future.
19
21 Quick summary of what the module does.
22
23 Perhaps a little code snippet.
24
25 use Olson::Abbreviations;
26
27 my $oa = Olson::Abbreviations->new({ tz_abbreviation => 'EST' });
28 $oa->is_unambigious; # returns 0
29 $oa->is_known; # returns 1
30 $oa->get_offset # dies
31 ...
32
34 get_offset Returns the offset to UTC
35
36 is_unambigious
37 Returns 0|1 based on if the abbreviation is globally
38 unambigious to the whole planet
39
40 is_known Returns 0|1 based on if the abbreviation is known despite
41 if it is ambigious or not
42
44 Evan Carroll, "<me+cpan at evancarroll.com>"
45
47 Please report any bugs or feature requests to "bug-olson-abbreviations
48 at rt.cpan.org", or through the web interface at
49 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Olson-Abbreviations>.
50 I will be notified, and then you'll automatically be notified of
51 progress on your bug as I make changes.
52
54 You can find documentation for this module with the perldoc command.
55
56 perldoc Olson::Abbreviations
57
58 You can also look for information at:
59
60 · RT: CPAN's request tracker
61
62 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Olson-Abbreviations>
63
64 · AnnoCPAN: Annotated CPAN documentation
65
66 <http://annocpan.org/dist/Olson-Abbreviations>
67
68 · CPAN Ratings
69
70 <http://cpanratings.perl.org/d/Olson-Abbreviations>
71
72 · Search CPAN
73
74 <http://search.cpan.org/dist/Olson-Abbreviations/>
75
77 Copyright 2012 Evan Carroll, all rights reserved.
78
79 This program is free software; you can redistribute it and/or modify it
80 under the same terms as Perl itself.
81
82
83
84perl v5.32.0 2020-07-28 Olson::Abbreviations(3)