Net::ICal::Daylight -- class for representing DAYLIGHT timezone sections |
Net::ICal::Daylight -- class for representing DAYLIGHT timezone sections
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.
# 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' );
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.
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
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.
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 |