OS Manuals

DateTime::TimeZone::Floating(3pm)

DateTime::TimeZone::Floating(3) User Contributed Perl Documentation DateTime::TimeZone::Floating(3)

  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. The short_name_for_datetime() method returns the string "floating" and the category() method returns "undef".

2026-10-28 perl v5.44.0

perl-datetime-timezone 2.72-r0 · os · ingested 2026-10-29