add_tz


Description:

[ CCode ( cname = "e_timezone_cache_add_timezone" ) ]
public void add_tz (Timezone zone)

Adds a copy of zone to this and emits an timezone_added signal.

The this will use the TZID string returned by get_tzid as the lookup key, which can be passed to get_tz to obtain zone again.

If the this already has an Timezone with the same TZID string as zone, the this will remain unchanged to avoid invalidating any Timezone pointers which may have already been returned through get_tz.

Parameters:

this

an TimezoneCache

zone

an Timezone