NAME

DateTime::TimeZone::TAI - Implements the TAI time scale for DateTime objects

SYNOPSIS

use DateTime::TimeZone::TAI;

my $tz_tai = DateTime::TimeZone::TAI->new();

my $date = DateTime->now( time_zone => $tz_tai );

DESCRIPTION

This module implements the TAI (International Atomic Time) time scale. Although TAI is not technically a time zone, it can be implemented as such. The time zone offset is equal to (TAI - UTC), which increases by 1 second whenever a leap second occurs.

METHODS

DateTime::TimeZone::TAI implements the same methods as other TimeZone modules. See DateTime::TimeZone.

BUGS

When you try to define a DateTime that is exactly on a leap second, with timezone TAI, the resulting time will be one second off. This is because of a bug in the DateTime leap second handling (as of version 0.24).

SUPPORT

Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details.

AUTHOR

Eugene van der Pijll <pijll@cpan.org>

COPYRIGHT

Copyright (c) 2004 Eugene van der Pijll. 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

http://datetime.perl.org/