DateTime::TimeZone::Floating - A time zone that is always local
my $floating_tz = DateTime::TimeZone::Floating->new;
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.
This class has the same methods as a real time zone object, but the short_name_for_datetime(), and category() methods both return undef.
short_name_for_datetime()
category()
To install DateTime::TimeZone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::TimeZone
CPAN shell
perl -MCPAN -e shell install DateTime::TimeZone
For more information on module installation, please visit the detailed CPAN module installation guide.