Class

ICalGLibTimezone

since: 3.0

[]

Description [src]

final class ICalGLib.Timezone : ICalGLib.Object
{
  /* No available fields */
}

This is the ICalTimezone instance.

Available since: 3.0

[]

Hierarchy

hierarchy this ICalTimezone ancestor_0 ICalObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0
[]

Constructors

i_cal_timezone_array_new

Creates a new array of timezones.

since: 1.0

i_cal_timezone_new

The constructor of the type ICalTimezone.

since: 1.0

i_cal_timezone_new_full

Create a new libical-glib object from the native libical object and the owner.

since: 1.0

[]

Functions

i_cal_timezone_array_append_from_vtimezone

Populate the array of timezones with a component.

since: 1.0

i_cal_timezone_array_destroy

The destructor of the icalarray of icaltimezone elements to fully destroy the native object.

since: 1.0

i_cal_timezone_array_element_at

Gets the ICalTimezone at specified position in array.

since: 1.0

i_cal_timezone_array_free

Frees an array of timezones.

since: 1.0

i_cal_timezone_destroy

The destructor of the type ICalTimezone to fully destroy the object by providing 1 as the second argument of i_cal_time_zone_free. The method is used as a default destructor for introspection.

since: 1.0

i_cal_timezone_free_builtin_timezones

Frees any builtin timezone information.

since: 1.0

i_cal_timezone_free_zone_directory

Frees memory dedicated to the zonefile directory.

since: 1.0

i_cal_timezone_get_builtin_timezone

Returns a single builtin timezone, given its Olson city name.

since: 1.0

i_cal_timezone_get_builtin_timezone_from_offset

Returns a single builtin timezone, given its offset.

since: 1.0

i_cal_timezone_get_builtin_timezone_from_tzid

Returns a single builtin timezone, given its TZID.

since: 1.0

i_cal_timezone_get_builtin_timezones

Returns a list of builtin timezones.

since: 1.0

i_cal_timezone_get_builtin_tzdata

Gets whether to use builtin timezones files.

since: 2.0

i_cal_timezone_get_location_from_vtimezone

Gets the location of the vtimezone in component.

since: 2.0

i_cal_timezone_get_tznames_from_vtimezone

Gets the name of the vtimezone in component.

since: 2.0

i_cal_timezone_get_utc_timezone

Returns the UTC timezone.

since: 1.0

i_cal_timezone_get_zone_directory

Gets the directory to look for the zonefiles.

unstable since: 3.0.17

i_cal_timezone_release_zone_tab

Frees memory dedicated to the zonefile directory.

since: 1.0

i_cal_timezone_set_builtin_tzdata

Sets whether to use builtin timezones files.

since: 2.0

i_cal_timezone_set_tzid_prefix

Sets the prefix to be used for tzid’s generated from system tzdata. Must be globally unique (such as a domain name owned by the developer of the calling application), and begin and end with forward slashes. Do not change or de-allocate the string buffer after calling this.

since: 1.0

i_cal_timezone_set_zone_directory

Sets the directory to look for the zonefiles.

since: 1.0

[]

Instance methods

i_cal_timezone_copy

The clone method for ICalTimezone.

since: 1.0

i_cal_timezone_dump_changes

Outputs a list of timezone changes for the given timezone to the given file, up to the maximum year given.

since: 1.0

i_cal_timezone_free

The destructor of ICalTimezone.

since: 1.0

i_cal_timezone_get_component

Returns the VTIMEZONE component of a timezone.

since: 1.0

i_cal_timezone_get_display_name

Gets the display name of the zone.

since: 1.0

i_cal_timezone_get_latitude

Returns the latitude of a builtin timezone.

since: 1.0

i_cal_timezone_get_location

Returns the city name of a timezone, or NULL, when none is set or when zone is also NULL.

since: 1.0

i_cal_timezone_get_longitude

Returns the longitude of a builtin timezone.

since: 1.0

i_cal_timezone_get_tzid

Returns the TZID of a timezone, or NULL, when none is set or when zone is also NULL.

since: 1.0

i_cal_timezone_get_tznames

Returns the TZNAME properties used in the latest STANDARD and DAYLIGHT components. If they are the same it will return just one, e.g. “LMT”. If they are different it will format them like “EST/EDT”. Note that this may also return NULL.

since: 1.0

i_cal_timezone_get_utc_offset

Calculates the UTC offset of a given local time in the given timezone. It is the number of seconds to add to UTC to get local time. The is_daylight flag is set to 1 if the time is in daylight-savings time.

since: 1.0

i_cal_timezone_get_utc_offset_of_utc_time

Calculates the UTC offset of a given UTC time in the given timezone. It is the number of seconds to add to UTC to get local time. The is_daylight flag is set to 1 if the time is in daylight-savings time.

since: 1.0

i_cal_timezone_set_component

Sets the VTIMEZONE component of ICalTimezone, initializing the tzid, location and tzname fields. It returns 1 on success or 0 on failure, i.e. no TZID was found.

since: 1.0

Methods inherited from ICalObject (12)
Methods inherited from GObject (43)
[]

Properties

Properties inherited from ICalObject (5)
[]

Signals

Signals inherited from GObject (1)

Class structure