
Net::ICal::Timezone -- class for representing VTIMEZONEs

This module represents VTIMEZONEs, which detail important information about timezones. For any timezone, you need to know some important factors related to it, namely:
This object represents those concepts with arrays of Net::ICal::Standard and Net::ICal::Daylight objects. For more detail on why, see RFC2445 4.6.5.
If you want some real data to test this module against, see http://primates.ximian.com/~damon/icalendar/zoneinfo.tgz , which is a set of VTIMEZONE files that aims to describe every timezone in the world. We'll be relying on those files in a future release as a master timezone database. They're a translation of the Olsen timezone database found on Unix systems.

use Net::ICal::Timezone;
# we know this works
my $tz = Net::ICal::Timezone->new_from_ical($ical_text);
# we haven't tested this yet, patches welcome
my $tz = Net::ICal::Timezone->new(
tzid => 'America/New_York',
standards => [
(Net::ICal::Standard objects)
],
daylights => [
(Net::ICal::Daylight objects)
]
);

Makes a new Timezone object. Permissible arguments are:
}; =end testing
Takes iCalendar text as a parameter; returns a Net::ICal::Timezone object.

Use these outside this module at your own peril.
This routine validates the creation arguments we were given to make sure that we have all the necessary elements to create a valid VTIMEZONE.
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 Net::ICal.