Function
GLibTimeZonenew
Description
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().
Available since: | 2.26 |
Deprecated since: | 2.68 |
Use |
Parameters
identifier |
const gchar* |
A timezone identifier. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GTimeZone |
The requested timezone. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |