1Data::ICal::Entry::TimeUZsoenre(C3o)ntributed Perl DocumDeanttaa:t:iIoCnal::Entry::TimeZone(3)
2
3
4
6 Data::ICal::Entry::TimeZone - Represents a time zone definition in an
7 iCalendar file
8
10 my $vtimezone = Data::ICal::Entry::TimeZone->new();
11 $vtimezone->add_properties(
12 tzid => "US-Eastern",
13 tzurl => "http://zones.stds_r_us.net/tz/US-Eastern"
14 );
15
16 $vtimezone->add_entry($daylight); # daylight/ standard not yet implemented
17 $vtimezone->add_entry($standard); # :-(
18
19 $calendar->add_entry($vtimezone);
20
22 A Data::ICal::Entry::TimeZone object represents the declaration of a
23 time zone in an iCalendar file. (Note that the iCalendar RFC refers to
24 entries as "components".) It is a subclass of Data::ICal::Entry and
25 accepts all of its methods.
26
27 This module is not yet useful, because every time zone declaration
28 needs to contain at least one "STANDARD" or "DAYLIGHT" component, and
29 these have not yet been implemented.
30
32 ical_entry_type
33 Returns "VTIMEZONE", its iCalendar entry name.
34
35 optional_unique_properties
36 According to the iCalendar standard, the following properties may be
37 specified at most one time for a time zone declaration:
38
39 last-modified tzurl
40
41 mandatory_unique_properties
42 According to the iCalendar standard, the "tzid" property must be
43 specified exactly one time in a time zone declaration.
44
46 Jesse Vincent "<jesse@bestpractical.com>" with David Glasser, Simon
47 Wistow, and Alex Vandiver
48
50 Copyright (c) 2005 - 2009, Best Practical Solutions, LLC. All rights
51 reserved.
52
53 This module is free software; you can redistribute it and/or modify it
54 under the same terms as Perl itself. See perlartistic.
55
57 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
58 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
59 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
60 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
61 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
62 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
63 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
64 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
65 NECESSARY SERVICING, REPAIR, OR CORRECTION.
66
67 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
68 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
69 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
70 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
71 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
72 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
73 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
74 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
75 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
76 DAMAGES.
77
78
79
80perl v5.12.0 2009-07-10 Data::ICal::Entry::TimeZone(3)