util_init_recur_task_sync


Description:


[ Version ( since = "3.30" ) ]
public bool util_init_recur_task_sync (Component vtodo, Client cal_client, Cancellable? cancellable = null) throws Error

Initializes properties of a recurring vtodo, like normalizing the Due date and eventually the Start date.

The function does nothing when the vtodo is not recurring.

The function doesn't change LAST-MODIFIED neither the SEQUENCE property, it's up to the caller to do it.

Note the cal_client, cancellable and throws is used only for timezone resolution. The function doesn't store the vtodo to the cal_client, it only updates the vtodo component.

Parameters:

vtodo

a VTODO component

cal_client

an Client to which the vtodo belongs

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org