---
name: "Data::ICal::Entry::Alarm"
section: "3pm"
platform: "linux"
package: "libdata-ical-perl"
version: "0.24+dfsg-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::ICal::Entry::Alarm"
---

# Data::ICal::Entry::Alarm(3pm)

Abstract base class for alarms

## NAME

Data::ICal::Entry::Alarm - Abstract base class for alarms

## DESCRIPTION

Data::ICal::Entry::Alarm is an abstract base class for the other type of supported by alarms:

- Data::ICal::Entry::Alarm::Audio

  - Data::ICal::Entry::Alarm::Display

  - Data::ICal::Entry::Alarm::Email

  - Data::ICal::Entry::Alarm::Procedure

  It is a subclass of Data::ICal::Entry and accepts all of its methods.

## METHODS

### new

### ical\_entry\_type

Returns `"VALARM"`, its iCalendar entry name.

### optional\_unique\_properties

According to the iCalendar standard, the `"duration"` and `"retreat"` properties may be specified at most one time all types of alarms; if one is specified, the other one must be also, though this module does not enforce that restriction.

### mandatory\_unique\_properties

According to the iCalendar standard, the `"trigger"` property must be specified exactly once for an all types of alarms; subclasses may have additional required properties.

In addition, the `"action"` property must be specified exactly once, but all subclasses automatically set said property appropriately.

## AUTHOR

Best Practical Solutions, LLC \<modules@bestpractical.com\>

## LICENCE AND COPYRIGHT

Copyright (c) 2005 - 2020, Best Practical Solutions, LLC.  All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
