Returns the duration of the period
. This can be called only on period
objects of kind %E_CAL_COMPONENT_PERIOD_DURATION.
The returned #ICalDuration object is owned by period
and should not
be freed. It's valid until the period
is freed or its duration changed.
Returns the end of the period
. This can be called only on period
objects of kind %E_CAL_COMPONENT_PERIOD_DATETIME. The end time can
be a null-time, in which case the period
corresponds to a single
date/date-time value, not to a period.
The returned #ICalTime object is owned by period
and should not
be freed. It's valid until the period
is freed or its end time changed.
Returns kind of the period,
one of #ECalComponentPeriodKind. Depending
on it either e_cal_component_period_get_end()/e_cal_component_period_set_end()
or e_cal_component_period_get_duration()/e_cal_component_period_set_duration()
can be used. The kind of an existing period
canbe changed with
e_cal_component_period_set_datetime_full() and e_cal_component_period_set_duration_full().
Set the duration of the period
. This can be called only on period
objects of kind %E_CAL_COMPONENT_PERIOD_DURATION.
an #ICalDuration, the duration of the period
Creates a new #ECalComponentPeriod of kind %E_CAL_COMPONENT_PERIOD_DATETIME. The returned structure should be freed with e_cal_component_period_free(), when no longer needed.
an #ICalTime, the start of the period
an #ICalTime, the end of the period
Creates a new #ECalComponentPeriod of kind %E_CAL_COMPONENT_PERIOD_DURATION. The returned structure should be freed with e_cal_component_period_free(), when no longer needed.
an #ICalTime, the start of the period
an #ICalDuration, the duration of the period
Period of time, can have explicit start/end times or start/duration instead. Use the functions below to work with it.