get_tz


Description:

[ CCode ( cname = "e_timezone_cache_get_timezone" ) ]
public unowned Timezone? get_tz (string tzid)

Obtains an Timezone by its TZID string.

If no match is found, the function returns null. The returned Timezone is owned by the this and should not be modified or freed.

Parameters:

this

an TimezoneCache

tzid

the TZID of a timezone

Returns:

an Timezone, or null