The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

METHODS

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.