TimeZone.local


Description:

public TimeZone.local ()

Creates a TimeZone corresponding to local time.

The local time zone may change between invocations to this function; for example, if the system administrator changes it.

This is equivalent to calling TimeZone with the value of the `TZ` environment variable (including the possibility of null).

You should release the return value by calling g_time_zone_unref when you are done with it.

Returns:

the local timezone