util_construct_instance


Description:


public Component? util_construct_instance (Component icalcomp, Time rid)

This checks that rid indicates a valid recurrence of icalcomp, and if so, generates a copy of icalcomp containing a RECURRENCE-ID of rid.

Free the returned non-NULL component with unref, when no longer needed.

Parameters:

icalcomp

A recurring Component

rid

The RECURRENCE-ID to construct a component for

Returns:

the instance as a new Component, or null.


Namespace: ECal
Package: libecal-2.0