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