i-cal-recur

i-cal-recur

Synopsis

GArray *            i_cal_recur_expand_recurrence       (const gchar *rule,
                                                         time_t start,
                                                         gint count);
ICalRecurrenceTypeWeekday i_cal_recur_string_to_weekday (const gchar *str);
const gchar *       i_cal_recur_weekday_to_string       (ICalRecurrenceTypeWeekday kind);
ICalRecurrenceTypeFrequency i_cal_recur_string_to_freq  (const gchar *str);
const gchar *       i_cal_recur_freq_to_string          (ICalRecurrenceTypeFrequency kind);
ICalRecurrenceTypeSkip i_cal_recur_string_to_skip       (const gchar *str);
const gchar *       i_cal_recur_skip_to_string          (ICalRecurrenceTypeSkip kind);

Description

Details

i_cal_recur_expand_recurrence ()

GArray *            i_cal_recur_expand_recurrence       (const gchar *rule,
                                                         time_t start,
                                                         gint count);

Fill an array with the 'count' number of occurrences generated by the rrule. Note that the times are returned in UTC, but the times are calculated in local time. YOu will have to convert the results back into local time before using them.

rule :

The rule of the recurrence.

start :

the start seconds past the POSIX epoch.

count :

The number of elements to be filled up in the array.

Returns :

If successful, return the array. NULL if failed. [array][element-type long][transfer full]

Since 1.0


i_cal_recur_string_to_weekday ()

ICalRecurrenceTypeWeekday i_cal_recur_string_to_weekday (const gchar *str);

Convert a string representation to an enum representation for the weekday.

str :

The string representation of the weekday.

Returns :

The enum representation of the weekday.

Since 1.0


i_cal_recur_weekday_to_string ()

const gchar *       i_cal_recur_weekday_to_string       (ICalRecurrenceTypeWeekday kind);

Convert a enum representation to a string representation for the weekday.

kind :

The freqeuncy enum

Returns :

The string representation of weekday

Since 2.0


i_cal_recur_string_to_freq ()

ICalRecurrenceTypeFrequency i_cal_recur_string_to_freq  (const gchar *str);

Convert a string representation to an enum representation for the frequency.

str :

The string representation of the frequency.

Returns :

The enum representation of the frequency.

Since 2.0


i_cal_recur_freq_to_string ()

const gchar *       i_cal_recur_freq_to_string          (ICalRecurrenceTypeFrequency kind);

Convert a enum representation to a string representation for the frequency.

kind :

The freqeuncy enum

Returns :

The string representation of frequency

Since 2.0


i_cal_recur_string_to_skip ()

ICalRecurrenceTypeSkip i_cal_recur_string_to_skip       (const gchar *str);

Convert a string representation to an enum representation for the skip.

str :

The string representation of the skip.

Returns :

The enum representation of the skip.

Since 2.0


i_cal_recur_skip_to_string ()

const gchar *       i_cal_recur_skip_to_string          (ICalRecurrenceTypeSkip kind);

Convert a enum representation to a string representation for the skip.

kind :

The freqeuncy enum

Returns :

The string representation of skip

Since 2.0