Class

ICalGLibVcardTime

unstable since: 4.0

Description [src]

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

This is the ICalVcardTime instance.

Available since: 4.0

Hierarchy

hierarchy this const ICalVcardTime ancestor_0 ICalObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Constructors

i_cal_vcard_time_new

Creates a new ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_new_current_utc_time

Creates a new ICalVcardTime with the current time in UTC zone.

unstable since: 4.0

i_cal_vcard_time_new_from_string

Creates a time from the str.

unstable since: 4.0

i_cal_vcard_time_new_full

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

since: 1.0

i_cal_vcard_time_new_null_date

Creates a new empty (“null”) date.

unstable since: 4.0

i_cal_vcard_time_new_null_datetime

Creates a new empty (“null”) datetime.

unstable since: 4.0

i_cal_vcard_time_new_null_time

Creates a new empty (“null”) time.

unstable since: 4.0

i_cal_vcard_time_new_null_timestamp

Creates a new empty (“null”) timestamp.

unstable since: 4.0

Functions

i_cal_vcard_time_is_leap_year

Returns whether the year is a leap year.

unstable since: 4.0

Instance methods

i_cal_vcard_time_as_vcard_string

Returns a string representation of the self.

unstable since: 4.0

i_cal_vcard_time_clone

Creates a new ICalVcardTime, copy of self.

unstable since: 4.0

i_cal_vcard_time_get_date

Gets the year/month/date parts of the timetype in one call.

unstable since: 4.0

i_cal_vcard_time_get_day

Gets the day of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_hour

Gets the hour of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_minute

Gets the minute of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_month

Gets the month of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_second

Gets the second of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_time

Gets the hour/minute/second parts of the timetype in one call.

unstable since: 4.0

i_cal_vcard_time_get_utc_offset

Gets the UTC offset of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_get_year

Gets the year of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_is_date

Returns whether self represents a date.

unstable since: 4.0

i_cal_vcard_time_is_datetime

Returns whether self represents a datetime.

unstable since: 4.0

i_cal_vcard_time_is_null_datetime

Returns true if the datetime is null.

unstable since: 4.0

i_cal_vcard_time_is_time

Returns whether self represents a time.

unstable since: 4.0

i_cal_vcard_time_is_timestamp

Returns whether self represents a timestamp.

unstable since: 4.0

i_cal_vcard_time_is_utc

Returns whether self is in UTC zone.

unstable since: 4.0

i_cal_vcard_time_is_valid_time

Returns whether self represents a valid time.

unstable since: 4.0

i_cal_vcard_time_set_date

Sets the year/month/date parts of the timetype in one call. This doesn’t verify validity of the given date.

unstable since: 4.0

i_cal_vcard_time_set_day

Sets the day of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_hour

Sets the hour of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_minute

Sets the minute of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_month

Sets the month of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_second

Sets the second of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_time

Sets the hour/minute/second parts of the timetype in one call. This doesn’t verify validity of the given time.

unstable since: 4.0

i_cal_vcard_time_set_utc_offset

Sets the UTC offset of ICalVcardTime.

unstable since: 4.0

i_cal_vcard_time_set_year

Sets the year of ICalVcardTime.

unstable since: 4.0

Methods inherited from ICalObject (12)
i_cal_object_add_depender

Adds a depender into the list of objects which should not be destroyed before this iobject. It’s usually used for cases where the iobject uses native libical structure from the depender. The depender is referenced. It’s illegal to try to add one depender multiple times.

since: 1.0

i_cal_object_get_always_destroy

Obtain the ICalObject::always-destroy property value.

unstable since: 3.0.11

i_cal_object_get_is_global_memory

Obtains whether the native libical structure is a global shared memory, thus should not be destroyed. This can be set only during construction time.

since: 1.0

i_cal_object_get_native

Obtain native libical structure pointer associated with this iobject.

since: 1.0

i_cal_object_get_native_destroy_func

Obtain a pointer to a function responsible to free the libical native structure.

since: 1.0

i_cal_object_ref_owner

Obtain current owner of the native libical structure. The returned pointer, if not NULL, is referenced for thread safety. Unref it with g_object_unref when done with it.

since: 1.0

i_cal_object_remove_depender

Removes a depender from the list of objects which should not be destroyed before this iobject, previously added with i_cal_object_add_depender(). It’s illegal to try to remove the depender which is not in the internal list.

since: 1.0

i_cal_object_remove_owner

Unref and remove the owner.

since: 1.0

i_cal_object_set_always_destroy

Sets the ICalObject::always-destroy property value. When TRUE, the native libical structure is always freed, even when an owner of the iobject is set.

unstable since: 3.0.11

i_cal_object_set_native_destroy_func

Sets a function to be used to destroy the native libical structure.

since: 1.0

i_cal_object_set_owner

Sets an owner of the native libical structure, that is an object responsible for a destroy of the native libical structure.

since: 1.0

i_cal_object_steal_native

Obtain native libical structure pointer associated with this iobject and sets the one at iobject to NULL, thus it’s invalid since now on.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from ICalObject (5)
ICalGLib.Object:always-destroy

Whether free the native libical structure on ICalObjects finalize even if the object has set an owner.

unstable since: 3.0.11

ICalGLib.Object:is-global-memory

Whether the native libical structure is from a global shared memory. If TRUE, then it is not freed on ICalObjects finalize.

unstable since: 4.0

ICalGLib.Object:native

The native libical structure for this ICalObject.

unstable since: 4.0

ICalGLib.Object:native-destroy-func

GDestroyNotify function to use to destroy the native libical pointer.

unstable since: 4.0

ICalGLib.Object:owner

Owner of the native libical structure. If set, then it is responsible for a free of the native libical structure.

unstable since: 4.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

Class structure

struct ICalGLibVcardTimeClass {
  /* no available fields */
}

This is the ICalVcardTime class.