get_duration


Description:

[ Version ( since = "3.34" ) ]
public unowned Duration get_duration ()

Returns the duration of the this.

This can be called only on this objects of kind e_cal_component_period_duration . The returned Duration object is owned by this and should not be freed. It's valid until the this is freed or its duration changed.

Parameters:

this

an ComponentPeriod

Returns:

the duration of the period, as an Duration