1Data::ICal::Entry::AlarUms:e:rDiCsopnltaryi(b3u)ted PerlDaDtoac:u:mIeCnatla:t:iEonntry::Alarm::Display(3)
2
3
4
6 Data::ICal::Entry::Alarm::Display - Represents a displayed alarm in an
7 iCalendar file
8
10 my $valarm = Data::ICal::Entry::Alarm::Display->new();
11 $valarm->add_properties(
12 description => "Wake up!",
13 # Dat*e*::ICal is not a typo here
14 trigger => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
15 );
16
17 $vevent->add_entry($valarm);
18
20 A Data::ICal::Entry::Alarm::Display object represents a alarm that
21 displays a message which is attached to a todo item or event in an
22 iCalendar file. (Note that the iCalendar RFC refers to entries as
23 "components".) It is a subclass of Data::ICal::Entry::Alarm and
24 accepts all of its methods.
25
27 new
28 Creates a new Data::ICal::Entry::Alarm::Display object; sets its
29 "ACTION" property to "DISPLAY".
30
31 mandatory_unique_properties
32 In addition to "action" and "trigger" (see
33 "mandatory_unique_properties" in Data::ICal::Entry::Alarm), displayed
34 alarms must also specify a value for "description".
35
37 Best Practical Solutions, LLC <modules@bestpractical.com>
38
40 Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights
41 reserved.
42
43 This module is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself. See perlartistic.
45
46
47
48perl v5.32.0 2020-07-2D8ata::ICal::Entry::Alarm::Display(3)