i-cal-recur

i-cal-recur

Functions

Includes

#include <i-cal-parameter>
#include <i-cal-value>

Description

Functions

i_cal_recur_expand_recurrence ()

GArray *
i_cal_recur_expand_recurrence (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.

Parameters

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.

Parameters

str

The string representation of the weekday.

 

Returns

The enum representation of the weekday.

Since: 1.0

Types and Values