TimeZone.this

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().

More...
  1. this(GTimeZone* gTimeZone, bool ownedRef)
  2. this(string identifier)
    class TimeZone
    this
    (
    string identifier
    )
  3. this(int seconds)

Parameters

identifier string

a timezone identifier

Return Value

the requested timezone

Detailed Description

Deprecated: Use g_time_zone_new_identifier() instead, as it provides error reporting. Change your code to handle a potentially %NULL return value.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.26