Timezone
Object Hierarchy:
Description:
[
CCode ( type_id =
"i_cal_timezone_get_type ()" ) ]
public class Timezone :
Object
This is the ICalTimezone instance.
Content:
Static methods:
Creation methods:
Methods:
- public Timezone copy ()
The clone method for Timezone.
- public int dump_changes (int max_year, FileStream fp)
Outputs a list of timezone changes for the given timezone to the given
file, up to the maximum year given.
- public Component get_component ()
Returns the VTIMEZONE component of a timezone.
- public unowned string get_display_name ()
Gets the display name of the this.
- public double get_latitude ()
Returns the latitude of a builtin timezone.
- public unowned string? get_location ()
Returns the city name of a timezone, or
null, when none is set or when this is also null.
- public double get_longitude ()
Returns the longitude of a builtin timezone.
- public unowned string? get_tzid ()
Returns the TZID of a timezone, or null
, when none is set or when this is also null.
- public unowned string? get_tznames ()
Returns the TZNAME properties used in the latest STANDARD and DAYLIGHT
components.
- public int get_utc_offset (Time? tt, out int is_daylight)
Calculates the UTC offset of a given local time in the given timezone.
- public int get_utc_offset_of_utc_time (Time tt, out int is_daylight)
Calculates the UTC offset of a given UTC time in the given timezone.
- public int set_component (Component comp)
Sets the VTIMEZONE component of Timezone,
initializing the tzid, location and tzname fields.
Inherited Members:
All known members inherited from class ICal.Object
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref