GLib.TimeZone – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
TimeZone
TimeZone
TimeZone.identifier
TimeZone.local
TimeZone.offset
TimeZone.utc
adjust_time
find_interval
get_abbreviation
get_identifier
get_offset
is_dst
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
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
TimeZone
(
string
identifier)
public
TimeZone.identifier
(
string
? identifier)
throws
Error
public
TimeZone.local
()
public
TimeZone.offset
(
int32
seconds)
public
TimeZone.utc
()
Methods:
public
int
adjust_time
(
TimeType
type,
ref
int64
time)
public
int
find_interval
(
TimeType
type,
int64
time)
public
unowned
string
get_abbreviation
(
int
interval)
public
unowned
string
get_identifier
()
public
int32
get_offset
(
int
interval)
public
bool
is_dst
(
int
interval)