Data::...:Alarm(3pm)

πŸ“¦
version 0.24 Β· 6 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… Data::...:Alarm(3pm) πŸ’…

okay bestie, welcome to the User Contributed Perl Documentation corner of the internet, where the page you're reading is Data::...:Alarm(3pm). pull up a chair, grab a boba, we're doing iCalendar alarms today πŸŽ€


✨ NAME ✨

Data::ICal::Entry::Alarm β€” the abstract base class for alarms. she's the blueprint, not the finished fit, iykyk πŸ’–


🌸 DESCRIPTION 🌸

Data::ICal::Entry::Alarm is an abstract base class for all the other types of alarms that this thing supports, and here's the whole squad:

  • Data::ICal::Entry::Alarm::Audio
  • Data::ICal::Entry::Alarm::Display
  • Data::ICal::Entry::Alarm::Email
  • Data::ICal::Entry::Alarm::Procedure

she's also a subclass of Data::ICal::Entry, so every method that class has? yeah, she accepts all of them. inherited the whole wardrobe, no cap πŸ‘‘


πŸ¦‹ METHODS πŸ¦‹

new

okay so this heading is just… here. sitting there. existing. the page gives it a heading and literally zero words of description, so that's what you get too, bestie. not me manifesting an explanation out of thin air πŸ™ˆ

ical_entry_type

returns "VALARM" β€” that's its iCalendar entry name. that's the whole thing. short, sweet, iconic ⭐

optional_unique_properties

per the iCalendar standard, the duration and retreat properties can each be specified at most one time across all types of alarms. and if you specify one of them, you gotta specify the other one too. BUT β€” and this is important β€” this module does not enforce that restriction. so it'll just let you do it. she's not your mom πŸ’€

mandatory_unique_properties

per the iCalendar standard, the trigger property must be specified exactly once for all types of alarms. and heads up: subclasses may add their own extra required properties on top of that.

also, the action property must be specified exactly once as well β€” but every subclass automatically sets that one up appropriately, so you don't gotta worry about it. she handles that for you, periodt πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

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


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.


okay that's the whole page bestie, you ate it up πŸ“ and as a little sign-off: this gorgeous thing is running on perl v5.36.0 and got dated 2022-10-14. slay πŸ’œπŸ«Άβœ¨

πŸ“¦ where this page comes from