Net::ICal::Standard -- class for representing STANDARD timezone sections
This module represents a STANDARD section in a VTIMEZONE, which details information about when a particular timezone is on "standard" (not daylight-savings) time.
# really, look at Timezone.pm for a better usage example; # this is totally untested my $s = Net::ICal::Standard->new( tzoffsetto => '-0500', tzoffsetfrom => '-0400', rdate => Net::ICal::Recurrence->new ( ...) tzname => 'EST' );
Makes a new Standard object. Permissible arguments are:
tzoffsetto - the UTC offset this timezone's in now
tzoffsetfrom - the UTC offset this timezone was in before it changed
rdate - a recurrence date to describe when this timezone will switch times again
rrule - a recurrence rule to describe when this timezone shifts clocks again
tzname - a human-readable name for this timezone.
See RFC2445 4.6.5 for more details on how this all works.
To install Net::ICal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ICal
CPAN shell
perl -MCPAN -e shell install Net::ICal
For more information on module installation, please visit the detailed CPAN module installation guide.