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 Best Practical Solutions, LLC <modules@bestpractical.com>
47
49 Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights
50 reserved.
51
52 This module is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself. See perlartistic.
54
55
56
57perl v5.34.0 2021-07-22 Data::ICal::Entry::TimeZone(3)