| 1 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Data::ICal::Entry::Alarm::None; | ||
| 5 | |||
| 6 | 1 | ▶ | use base qw/Data::ICal::Entry::Alarm/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Data::ICal::Entry::Alarm::None - Represents an default no-op alarm | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | my $valarm = Data::ICal::Entry::Alarm::None->new(); | ||
| 15 | $vevent->add_entry($valarm); | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | A L<Data::ICal::Entry::Alarm::None> object represents a default alarm | ||
| 20 | that does nothing; this is different from a lack of alarm, because | ||
| 21 | clients may be expected to "override" any default alarm present in | ||
| 22 | calendar data with the current value retrieved from the server. This | ||
| 23 | class is a subclass of L<Data::ICal::Entry::Alarm> and accepts all of | ||
| 24 | its methods. | ||
| 25 | |||
| 26 | This element is not included in the official iCal RFC, but is rather an | ||
| 27 | unaccepted draft standard; see | ||
| 28 | L<https://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-11> | ||
| 29 | B<Its interoperability and support is thus limited.> This is alarm type | ||
| 30 | is primarily used by Apple. | ||
| 31 | |||
| 32 | =head1 METHODS | ||
| 33 | |||
| 34 | =cut | ||
| 35 | |||
| 36 | =head2 new | ||
| 37 | |||
| 38 | Creates a new L<Data::ICal::Entry::Alarm::None> object; sets its | ||
| 39 | C<ACTION> property to C<NONE>. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | 0 | my $class = shift; | |
| 45 | 0 | my $self = $class->SUPER::new(@_); | |
| 46 | 0 | $self->add_property( action => "NONE" ); | |
| 47 | 0 | return $self; | |
| 48 | } | ||
| 49 | |||
| 50 | =head1 AUTHOR | ||
| 51 | |||
| 52 | Best Practical Solutions, LLC E<lt>modules@bestpractical.comE<gt> | ||
| 53 | |||
| 54 | =head1 LICENCE AND COPYRIGHT | ||
| 55 | |||
| 56 | Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights reserved. | ||
| 57 | |||
| 58 | This module is free software; you can redistribute it and/or | ||
| 59 | modify it under the same terms as Perl itself. See L<perlartistic>. | ||
| 60 | |||
| 61 | =cut | ||
| 62 | |||
| 63 | 1 | 1; | |