DateTime::TimeZone::UTC - The UTC time zone


NAME

DateTime::TimeZone::UTC - The UTC time zone

Back to Top


SYNOPSIS

  my $utc_tz = DateTime::TimeZone::UTC->new;

Back to Top


DESCRIPTION

This class is used to provide the DateTime::TimeZone API needed by DateTime.pm for the UTC time zone, which is not explicitly included in the Olson time zone database.

The offset for this object will always be zero.

Back to Top


USAGE

This class has the same methods as a real time zone object, but the category() method returns undef and is_utc() returns true.

Back to Top


AUTHOR

Dave Rolsky, <autarch@urth.org>

Back to Top


COPYRIGHT & LICENSE

Copyright (c) 2003-2008 David Rolsky. 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.

Back to Top

 DateTime::TimeZone::UTC - The UTC time zone