GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Olson::Abbreviations(3) User Contributed Perl Documentation Olson::Abbreviations(3)

Olson::Abbreviations -globally unique timezones abbreviation handling

This module should help you with converting commonly used and often ambigious olson abbreviations into TZ offset notation.

This module is released as 0.01 because it is useful. It is not complete. In order to be complete in the author's eyes this module must accept a locale and disambiguate based on that.

EST is not ambigious if your standing in the US or in Austrailia. This module should handle this properly in the future.

Quick summary of what the module does.

Perhaps a little code snippet.

    use Olson::Abbreviations;

    my $oa = Olson::Abbreviations->new({ tz_abbreviation => 'EST' });
                $oa->is_unambigious; # returns 0
                $oa->is_known;       # returns 1
                $oa->get_offset      # dies
    ...

get_offset
Returns the offset to UTC
is_unambigious
Returns 0|1 based on if the abbreviation is globally unambigious to the whole planet
is_known
Returns 0|1 based on if the abbreviation is known despite if it is ambigious or not

Evan Carroll, "<me+cpan at evancarroll.com>"

Please report any bugs or feature requests to "bug-olson-abbreviations at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Olson-Abbreviations>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc Olson::Abbreviations

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Olson-Abbreviations>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Olson-Abbreviations>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Olson-Abbreviations>

  • Search CPAN

    <http://search.cpan.org/dist/Olson-Abbreviations/>

Copyright 2012 Evan Carroll, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2013-02-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.