merge_instances


Description:

public Component merge_instances (SList<Component> instances, bool replace_tzid_with_location)

Merges all the instances provided in instances list into one VCALENDAR object, which would eventually contain also all the used timezones.

The instances list should contain the master object and eventually all the detached instances for one component (they all have the same UID).

Any TZID property parameters can be replaced with corresponding timezone location, which will not influence the timezone itself.

Parameters:

this

an CalMetaBackend

instances

component instances to merge

replace_tzid_with_location

whether to replace TZID-s with locations

Returns:

an Component containing a VCALENDAR component which consists of all the given instances. Free the returned pointer with unref, when no longer needed.

See: save_component_sync