DateTime::TimeZone::Floating.3pm

Langue: en

Autres versions - même langue

Version: 2009-02-26 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DateTime::TimeZone::Floating - A time zone that is always local

SYNOPSIS

   my $floating_tz = DateTime::TimeZone::Floating->new;
 
 

DESCRIPTION

This class is used to provide the DateTime::TimeZone API needed by DateTime.pm, but for floating times, as defined by the RFC 2445 spec. A floating time has no time zone, and has an effective offset of zero.

USAGE

This class has the same methods as a real time zone object, but the "short_name_for_datetime()", and "category()" methods both return undef.

AUTHOR

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.