TimeZone.this

A version of glib.time_zone.TimeZone.newIdentifier 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 glib.time_zone.TimeZone.newIdentifier.

More...
  1. this(void* ptr, Flag!"Take" take)
  2. this(string identifier)
    class TimeZone
    this
    (
    string identifier = null
    )

Parameters

identifier string

a timezone identifier

Return Value

the requested timezone

Detailed Description

Deprecated: Use glib.time_zone.TimeZone.newIdentifier instead, as it provides error reporting. Change your code to handle a potentially null return value.