Dave Rolsky > DateTime-TimeZone-1.56 > DateTime::TimeZone::UTC

Download:
DateTime-TimeZone-1.56.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  4
Stalled  3
View/Report Bugs
Module Version: 1.56   Source   Latest Release: DateTime-TimeZone-1.71

NAME ^

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

VERSION ^

version 1.56

SYNOPSIS ^

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

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.

USAGE ^

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

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Dave Rolsky.

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

syntax highlighting: