Function
ECalComponentPeriodnew_duration
since: 3.34
Declaration [src]
ECalComponentPeriod*
e_cal_component_period_new_duration (
const ICalTime* start,
const ICalDuration* duration
)
Description [src]
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.
Available since: 3.34
Return value
Type: ECalComponentPeriod
A newly allocated ECalComponentPeriod.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |