1Data::ICal::TimeZone(3)User Contributed Perl DocumentatioDnata::ICal::TimeZone(3)
2
3
4

NAME

6       Data::ICal::TimeZone - timezones for Data::ICal
7

SYNOPSIS

9         use Data::ICal;
10         use Data::ICal::TimeZone;
11
12         my $cal = Data::ICal->new;
13         my $zone = Data::ICal::TimeZone->new( timezone => 'Europe/London' );
14         $cal->add_event( $zone->definition );
15         my $event = Data::ICal::Entry::Event->new;
16         $event->add_properties(
17             summary => 'Go to the pub',
18             dtstart => [ '20070316T180000' , { TZID => $zone->timezone } ],
19             dtend   => [ '20070316T230000' , { TZID => $zone->timezone } ],
20         );
21         $cal->add_event( $event );
22

DESCRIPTION

24       Data::ICal::TimeZone provides a mechanism for adding the Olsen standard
25       timezones to your ical documents, plus a copy of the Olsen timezone
26       database.
27

METHODS

29       new( timezone => 'zone_name' )
30           Returns a timezone object, this will be a
31           Data::ICal::TimeZone::Object
32
33           Returns a false value upon failure to locate the specified timezone
34           or load it's data class; this false value is a Class::ReturnValue
35           object and can be queried as to its "error_message".
36
37       zones
38           Returns the a list of the supported timezones
39

DIAGNOSTICS

41       No timezone specified
42           You failed to specify a "timezone" argument to ->new
43
44       No such timezone '%s'
45           The "timezone" you specifed to ->new wasn't one this module knows
46           of.
47
48       Couldn't require Data::ICal::TimeZone::Object::%s: %s
49           The underlying class didn't compile cleanly.
50

AUTHOR

52       Richard Clamp <richardc@unixbeard.net>
53
55       Copyright 2007, Richard Clamp.  All rights reserved.
56
57       This module is free software; you can redistribute it and/or modify it
58       under the same terms as Perl itself. See perlartistic.
59

BUGS

61       None currently known, please report any you find to the author.
62

VERSION

64       The current zone data was generated from tzdata2007g using Vzic 1.3.
65

SEE ALSO

67       Data::ICal::TimeZone::Object, Data::ICal
68
69       http://dialspace.dial.pipex.com/prod/dialspace/town/pipexdsl/s/asbm26/vzic/
70
71
72
73perl v5.30.0                      2019-07-26           Data::ICal::TimeZone(3)
Impressum