new

fun new(identifier: String? = null): TimeZone

A version of g_time_zone_new_identifier() which returns the UTC time zone if @identifier could not be parsed or loaded.

If you need to check whether @identifier was loaded successfully, use g_time_zone_new_identifier().

Return

the requested timezone

Since

2.26

Parameters

identifier

a timezone identifier