Timezone
Object Hierarchy:
GWeather.Timezone
GWeather.Timezone
GWeather.Timezone
Description:
[ CCode ( ref_function = "gweather_timezone_ref" , type_id = "gweather_timezone_get_type ()" , unref_function = "gweather_timezone_unref" ) ] [ Compact ]public class Timezone
A timezone.
Timezones are global to the GWeather world (as obtained by
location_get_world ); they can be gotten by passing
timezone_get_by_tzid with a tzid like "America/New_York" or "Europe/London".
Content:
Static methods:
Methods:
public Timezone @ref ()
Adds 1 to this 's reference count.
public int get_dst_offset ()
Gets this 's daylight/summer time offset
from UTC, in minutes.
public unowned string get_name ()
Gets this 's name; a translated,
user-presentable string.
public int get_offset ()
Gets this 's standard offset from UTC, in
minutes.
public unowned string get_tzid ()
Gets this 's tzdata identifier, eg
"America/New_York".
public bool has_dst ()
Checks if this observes daylight/summer
time for part of the year.
public void unref ()
Subtracts 1 from this 's reference count
and frees it if it reaches 0.