| Net-ICal documentation | view source | Contained in the Net-ICal distribution. |
Net::ICal::Trigger -- represent the TRIGGER property for VALARMs
use Net::ICal;
# 5 minutes after the end of the event or to-do
# DURATION is the default type, so it's optional
$t = new Net::ICal::Trigger (300);
$t = new Net::ICal::Trigger (new Net::ICal::Duration ("PT5M"),
related => 'END');
# trigger for 7:30am, Jan 1st 2000
$t = new Net::ICal::Trigger (new Net::ICal::Time ('20000101T073000'));
Triggers are time markers, used most commonly for Alarms. They're attached to Times or Durations.
Get or set the type of the trigger. Valid options are
Net::ICal::Time, Net::ICal::Duration, Net::ICal::Alarm.
More information can be found in Net::ICal.
| Net-ICal documentation | view source | Contained in the Net-ICal distribution. |