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


DateTime-TimeZone documentation  | view source Contained in the DateTime-TimeZone distribution.

Index


NAME

Top

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

VERSION

Top

version 1.34

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


DateTime-TimeZone documentation  | view source Contained in the DateTime-TimeZone distribution.