put_timezone


Description:

public bool put_timezone (Timezone zone, uint inc_ref_counts, Cancellable? cancellable = null) throws Error

Puts the zone into the this using its timezone ID as an identificator.

The function adds a new or replaces existing, if any such already exists in the this. The function does nothing and returns true, when the passed-in zone is libical builtin timezone.

Parameters:

this

an CalCache

zone

an Timezone to put

inc_ref_counts

how many refs to add, or 0 to have it stored forever

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.