DateTime::TimeZone::UTC - The UTC time zone
Contents
Copyright And License
This software is copyright (c) 2025 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.
The full text of the license can be found in the LICENSE file included with this distribution.
perl v5.40.1 2025-03-27 DateTime::TimeZone::UTC(3pm)
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.
Name
DateTime::TimeZone::UTC - The UTC time zone
Source
The source code repository for DateTime-TimeZone can be found at
<https://github.com/houseabsolute/DateTime-TimeZone>.
Support
Bugs may be submitted at <https://github.com/houseabsolute/DateTime-TimeZone/issues>.
Synopsis
my $utc_tz = DateTime::TimeZone::UTC->new;
Usage
This class has the same methods as a real time zone object, but the category() method returns undef and
is_utc() returns true.
Version
version 2.65
