Net::ICal::Trigger - represent the TRIGGER property for VALARMs


Net-ICal documentation  | view source Contained in the Net-ICal distribution.

Index


NAME

Top

Net::ICal::Trigger -- represent the TRIGGER property for VALARMs

SYNOPSIS

Top

  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'));

DESCRIPTION

Top

Triggers are time markers, used most commonly for Alarms. They're attached to Times or Durations.

CONSTRUCTORS

Top

new

METHODS

Top

value([$value])

Get or set the type of the trigger. Valid options are

DURATION
DATE-TIME

SEE ALSO

Top

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.