TimeZone
Object Hierarchy:
Description:
[ Compact ]
[ Version ( since = "2.26" ) ]
[ CCode ( ref_function = "g_time_zone_ref" , type_id = "G_TYPE_TIME_ZONE" , unref_function = "g_time_zone_unref" ) ]
public class TimeZone
TimeZone is an opaque structure whose members cannot be accessed directly.
Content:
Creation methods:
Methods:
- public int adjust_time (TimeType type, ref int64 time)
Finds an interval within this that
corresponds to the given time_
, possibly adjusting time_
if required to fit into an interval.
- public int find_interval (TimeType type, int64 time)
Finds an interval within this that
corresponds to the given time_
.
- public unowned string get_abbreviation (int interval)
Determines the time zone abbreviation to be used during a particular
interval
of time in the time zone this.
- public unowned string get_identifier ()
Get the identifier of this TimeZone, as passed to
TimeZone.
- public int32 get_offset (int interval)
Determines the offset to UTC in effect during a particular interval
of time in the time zone this.
- public bool is_dst (int interval)
Determines if daylight savings time is in effect during a particular
interval
of time in the time zone this.