Constructor

ICalGLibPropertynew_duration

since: 1.0

Declaration [src]

ICalProperty*
i_cal_property_new_duration (
  const ICalDuration* value
)

Description [src]

Creates a new ICalProperty holding DURATION.

Available since: 1.0

Parameters

value

Type: ICalDuration

The ICalDuration value.

The data is owned by the caller of the function.

Return value

Type: ICalProperty

A new ICalProperty holding DURATION.

The caller of the function takes ownership of the data, and is responsible for freeing it.