1Data::ICal::Entry::TodoU(s3e)r Contributed Perl DocumentaDtaitoan::ICal::Entry::Todo(3)
2
3
4

NAME

6       Data::ICal::Entry::Todo - Represents a to-do entry in an iCalendar file
7

SYNOPSIS

9           my $vtodo = Data::ICal::Entry::Todo->new();
10           $vtodo->add_properties(
11               summary   => "go to sleep",
12               status    => 'INCOMPLETE',
13               # Dat*e*::ICal is not a typo here
14               dtstart   => Date::ICal->new( epoch => time )->ical,
15           );
16
17           $calendar->add_entry($vtodo);
18
19           $vtodo->add_entry($alarm);
20

DESCRIPTION

22       A Data::ICal::Entry::Todo object represents a single to-do entry in an
23       iCalendar file.  (Note that the iCalendar RFC refers to entries as
24       "components".)  It is a subclass of Data::ICal::Entry and accepts all
25       of its methods.
26

METHODS

28   ical_entry_type
29       Returns "VTODO", its iCalendar entry name.
30
31   mandatory_unique_properties
32       The "uid" property is mandatory if "rfc_strict" was passed to "new" in
33       Data::ICal.
34
35   optional_unique_properties
36       According to the iCalendar standard, the following properties may be
37       specified at most one time for a to-do item:
38
39             class  completed  created  description  dtstamp
40             dtstart  geo  last-modified  location  organizer
41             percent-complete  priority  recurrence-id  sequence  status
42             summary  uid  url
43
44       In addition, "due" and "duration" may be specified at most once each,
45       but not both in the same entry (though this restriction is not
46       enforced).
47
48       Or if "vcal10 => 1":
49
50               class dcreated completed description dtstart due
51               last-modified location rnum priority
52               sequence status summary transp
53               url uid
54
55   optional_repeatable_properties
56       According to the iCalendar standard, the following properties may be
57       specified any number of times for a to-do item:
58
59             attach  attendee  categories  comment  contact
60             exdate  exrule  request-status  related-to  resources
61             rdate  rrule
62
63       Or if "vcal10 => 1":
64
65               aalarm  attach  attendee  categories
66               dalarm  exdate  exrule  malarm  palarm  related-to
67               resources  rdate  rrule
68

AUTHOR

70       Best Practical Solutions, LLC <modules@bestpractical.com>
71
73       Copyright (c) 2005 - 2015, Best Practical Solutions, LLC.  All rights
74       reserved.
75
76       This module is free software; you can redistribute it and/or modify it
77       under the same terms as Perl itself. See perlartistic.
78
79
80
81perl v5.28.1                      2015-02-17        Data::ICal::Entry::Todo(3)
Impressum