NAME
DateTime::TimeZone::Alias - Create aliases for DateTime timezones
SYNOPSIS
use DateTime::TimeZone::Alias Hawaii => 'Pacific/Honolulu',
EST => 'Australia/Melbourne';
or
DateTime::TimeZone::Alias->set( Pain => 'America/Dawson_Creek', %hash );
or
DateTime::TimeZone::Alias->remove( Hawaii, EST, Pain );
DESCRIPTION
Creates and deletes aliases for DateTime timezones. This module violates the encapsulation of the DateTime internals. User _Beware_.
IMPORT PARAMETERS
Accepts a hash representing an alias and the timezone it should represent.
METHODS
set( alias => timezone, ... )
Accepts a hash representing an alias and the timezone it should represent.
remove( alias, ... )
Accepts a list of aliases to be deleted.
GOTCHAS
Multiple use DateTime::TimeZone::Alias in the same package may not have the desired result if attempting to redefine existing aliases. Use the set method instead.
CREDITS
Everyone at the DateTime Asylum.
AUTHOR
Joshua Hoblitt <jhoblitt@cpan.org>
COPYRIGHT
Copyright (c) 2003 Joshua Hoblitt. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
datetime@perl.org mailing list
http://datetime.perl.org/
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 39:
You forgot a '=back' before '=head1'