Top | ![]() |
![]() |
![]() |
![]() |
JanaTime * | jana_ecal_time_new () |
JanaTime * | jana_ecal_time_new_from_icaltime () |
JanaTime * | jana_ecal_time_new_from_ecaltime () |
void | jana_ecal_time_set_location () |
const gchar * | jana_ecal_time_get_location () |
JanaEcalTime is an implementation of JanaTime that provides a wrapper over icaltimetype, using libecal.
JanaTime *
jana_ecal_time_new_from_icaltime (const icaltimetype *time
);
Creates a new JanaEcalTime using the given icaltimetype.
JanaTime *
jana_ecal_time_new_from_ecaltime (ECalComponentDateTime *dt
);
Creates a new JanaEcalTime using the given ECalComponentDateTime
void jana_ecal_time_set_location (JanaEcalTime *self
,const gchar *location
);
Sets the location of the time, using a timezone string such as
"Europe/London", as opposed to the libc timezone name as used in
jana_time_set_tzname()
. The time will still be adjusted for the new
timezone. A NULL
location parameter will be treated as "UTC".
const gchar *
jana_ecal_time_get_location (JanaEcalTime *self
);
Retrieves the full timezone name of the given time. See
jana_ecal_time_set_location()
.