logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

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

newical_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.

Name

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

See Also