⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 floating.pm

📁 网页留言本,比一般的留言簿管用
💻 PM
字号:
package DateTime::TimeZone::Floating;use strict;use vars qw ($VERSION @ISA);$VERSION = 0.01;use DateTime::TimeZone;use base 'DateTime::TimeZone::OffsetOnly';sub new{    my $class = shift;    return bless { name => 'floating',                   offset => 0 }, $class;}sub is_floating { 1 }__END__=head1 NAMEDateTime::TimeZone::Floating - A time zone that is always local=head1 SYNOPSIS  my $floating_tz = DateTime::TimeZone::Floating->new;=head1 DESCRIPTIONThis class is used to provide the DateTime::TimeZone API needed byDateTime.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.=head1 USAGEThis class has the same methods as a real time zone object, but theC<short_name_for_datetime()>, and C<category()> methods both returnundef.=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -