Returns a newly allocated copy of trigger,
which should be freed with
e_cal_component_alarm_trigger_free(), when no longer needed.
Returns the trigger
duration for a relative trigger,
or %NULL, when
the trigger
is an absolute trigger.
Set the trigegr
with the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE kind and
the absolute_time
as the time of the trigger. The absolute_time
should be date/time (not date) in UTC.
To set a relative trigger use e_cal_component_alarm_trigger_set_relative().
Sets the trigger
duration for a relative trigger. The function does nothing, when
the trigger
is an absolute trigger. The object is owned by trigger
and it's
valid until the trigger
is freed or its relative duration changed.
duration for a relative trigger, as an #ICalDuration
Set the trigger
kind to kind
. This works only for other than
the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE. To change the kind
from absolute to relative, or vice versa, use either
e_cal_component_alarm_trigger_set_relative() or
e_cal_component_alarm_trigger_set_absolute().
the kind to set, one of #ECalComponentAlarmTriggerKind
Set the trigegr
with the given kind
and duration
. The kind
can be any but
the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE.
To set an absolute trigger use e_cal_component_alarm_trigger_set_absolute().
an #ECalComponentAlarmTriggerKind, any but the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE
the duration relative to kind,
as an #ICalDuration
Creates a new #ECalComponentAlarmTrigger structure, set with
the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE kind and the absolute_time
as
the time of the trigger. The absolute_time
should be date/time (not date) in UTC.
To create a relative trigger use e_cal_component_alarm_trigger_new_relative(). Free the trigger with e_cal_component_alarm_trigger_free(), when no longer needed.
Creates a new #ECalComponentAlarmTrigger, filled with values from property,
which should be of kind %I_CAL_TRIGGER_PROPERTY. The function returns
%NULL when it is not of the expected kind. Free the structure
with e_cal_component_alarm_trigger_free(), when no longer needed.
Creates a new #ECalComponentAlarmTrigger structure, set with the given kind
and duration
. The kind
can be any but the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE.
To create an absolute trigger use e_cal_component_alarm_trigger_new_absolute().
Free the trigger with e_cal_component_alarm_trigger_free(), when no longer needed.
an #ECalComponentAlarmTriggerKind, any but the %E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE
the duration relative to kind,
as an #ICalDuration
Opaque structure, which represents when an alarm is supposed to be triggered. Use the functions below to work with it.