Net::ICal::Daylight -- class for representing DAYLIGHT timezone sections


NAME

Net::ICal::Daylight -- class for representing DAYLIGHT timezone sections


DESCRIPTION

This module represents a DAYLIGHT section in a VTIMEZONE, which details information about when a particular timezone is on daylight savings time. It includes information about when the switch back to standard time happens.


SYNOPSIS

    # really, look at Timezone.pm for a better usage example;
    # this is totally untested
    my $s = Net::ICal::Daylight->new(
        tzoffsetto => '-0400',
        tzoffsetfrom => '-0500',
        rdate => Net::ICal::Recurrence->new ( ...)
        tzname => 'EDT'
    );


METHODS

new(%args)

Makes a new Daylight object. For permissible parameters, see Net::ICal::Standard.

Takes iCalendar text as a parameter; returns a Net::ICal::Daylight object.


INTERNAL METHODS ONLY

Use these outside this module at your own peril.

validate($self)

This routine validates the creation arguments we were given to make sure that we have all the necessary elements to create a valid VDAYLIGHT. =cut

create($class, %args)

This is an internal function that sets up the object. It mainly establishes a Class::MethodMapper data map and hands off creation of the object to Net::ICal::Component.


SEE ALSO

More documentation pointers can be found in the Net::ICal::Timezone manpage and the Net::ICal::Standard manpage.

 Net::ICal::Daylight -- class for representing DAYLIGHT timezone sections