DateTimeX::Lite::TimeZone::UTC - The UTC time zone
my $utc_tz = DateTimeX::Lite::TimeZone::UTC->new;
This class is used to provide the DateTimeX::Lite::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.
This class has the same methods as a real time zone object, but the category() method returns undef and is_utc() returns true.
category()
is_utc()
Dave Rolsky, <autarch@urth.org>
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.
To install DateTimeX::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTimeX::Lite
CPAN shell
perl -MCPAN -e shell install DateTimeX::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.