Net::ICal::Standard - class for representing STANDARD timezone sections


Net-ICal documentation  | view source Contained in the Net-ICal distribution.

Index


NAME

Top

Net::ICal::Standard -- class for representing STANDARD timezone sections

DESCRIPTION

Top

This module represents a STANDARD section in a VTIMEZONE, which details information about when a particular timezone is on "standard" (not daylight-savings) time.

SYNOPSIS

Top

    # 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'
    );
=cut

METHODS

Top

new(%args)

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.


Net-ICal documentation  | view source Contained in the Net-ICal distribution.