Top |
ICalRecurrence | |
struct | ICalRecurrenceClass |
enum | ICalRecurrenceFrequency |
enum | ICalRecurrenceWeekday |
enum | ICalRecurrenceSkip |
enum | ICalRecurrenceArrayMaxValues |
enum | ICalRecurrenceArraySizes |
gboolean
i_cal_recurrence_rscale_is_supported (void
);
Checks whether rscale is supported.
Since: 2.0
ICalArray *
i_cal_recurrence_rscale_supported_calendars
(void
);
Gets an array of calendars supporting rscale (currently always return NULL).
Since: 2.0
ICalRecurrence *
i_cal_recurrence_new (void
);
Creates a new ICalRecurrence.
Since: 1.0
void
i_cal_recurrence_clear (ICalRecurrence *r
);
Resets an ICalRecurrence.
Since: 1.0
ICalRecurrenceWeekday
i_cal_recurrence_day_day_of_week (gshort day
);
Decodes a day to a weekday in a week.
Since: 1.0
gint
i_cal_recurrence_day_position (gshort day
);
Decodes a day to a position of the weekday.
The decoded day of the week. 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc
Since: 1.0
gboolean
i_cal_recurrence_month_is_leap (gshort month
);
Decodes a month and check whether it is a leap month.
Since: 2.0
ICalRecurrence *
i_cal_recurrence_new_from_string (const gchar *str
);
Converts a string to a ICalRecurrence.
Since: 1.0
gchar *
i_cal_recurrence_to_string (ICalRecurrence *recur
);
Converts a ICalRecurrence to a string.
Since: 1.0
ICalTime *
i_cal_recurrence_get_until (ICalRecurrence *recur
);
Gets the until from ICalRecurrence.
Since: 1.0
void i_cal_recurrence_set_until (ICalRecurrence *recur
,ICalTime *until
);
Sets the until from ICalRecurrence.
Since: 1.0
ICalRecurrenceFrequency
i_cal_recurrence_get_freq (ICalRecurrence *recur
);
Gets the freq from ICalRecurrence.
Since: 1.0
void i_cal_recurrence_set_freq (ICalRecurrence *recur
,ICalRecurrenceFrequency freq
);
Sets the freq from ICalRecurrence.
Since: 1.0
gint
i_cal_recurrence_get_count (ICalRecurrence *recur
);
Gets the count from ICalRecurrence.
Since: 1.0
void i_cal_recurrence_set_count (ICalRecurrence *recur
,gint count
);
Sets the count from ICalRecurrence.
Since: 1.0
gshort
i_cal_recurrence_get_interval (ICalRecurrence *recur
);
Gets the interval from ICalRecurrence.
Since: 1.0
void i_cal_recurrence_set_interval (ICalRecurrence *recur
,gshort interval
);
Sets the interval from ICalRecurrence.
Since: 1.0
ICalRecurrenceWeekday
i_cal_recurrence_get_week_start (ICalRecurrence *recur
);
Gets the week_start from ICalRecurrence.
Since: 1.0
void i_cal_recurrence_set_week_start (ICalRecurrence *recur
,ICalRecurrenceWeekday week_start
);
Sets the week_start from ICalRecurrence.
Since: 1.0
GArray *
i_cal_recurrence_get_by_second_array (ICalRecurrence *recur
);
Gets the by_second array from ICalRecurrence. The array size if I_CAL_BY_SECOND_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_second_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_second array in recur
at once. The array size can be less than I_CAL_BY_SECOND_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_second (ICalRecurrence *recur
,guint index
);
Gets the by_second value at index index
. The index should be less than I_CAL_BY_SECOND_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_second of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_second (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_second array from ICalRecurrence at the given index. The array size is I_CAL_BY_SECOND_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_second of ICalRecurrence, less than I_CAL_BY_SECOND_SIZE |
|
value |
The value to be set into by_second of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_minute_array (ICalRecurrence *recur
);
Gets the by_minute array from ICalRecurrence. The array size is I_CAL_BY_MINUTE_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_minute_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_minute array in recur
at once. The array size can be less than I_CAL_BY_MINUTE_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_minute (ICalRecurrence *recur
,guint index
);
Gets the by_minute value at index index
. The index should be less than I_CAL_BY_MINUTE_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_minute of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_minute (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_minute array from ICalRecurrence at the given index. The array size is I_CAL_BY_MINUTE_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_minute of ICalRecurrence |
|
value |
The value to be set into by_minute of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_hour_array (ICalRecurrence *recur
);
Gets the by_hour array from ICalRecurrence. The array size is I_CAL_BY_HOUR_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_hour_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_hour array in recur
at once. The array size can be less than I_CAL_BY_HOUR_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_hour (ICalRecurrence *recur
,guint index
);
Gets the by_hour value at index index
. The index should be less than I_CAL_BY_HOUR_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_hour of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_hour (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_hour array from ICalRecurrence at the given index. The array size is I_CAL_BY_HOUR_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_hour of ICalRecurrence |
|
value |
The value to be set into by_hour of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_day_array (ICalRecurrence *recur
);
Gets the by_day array from ICalRecurrence. The array size is I_CAL_BY_DAY_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_day_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_day array in recur
at once. The array size can be less than I_CAL_BY_DAY_SIZE. Shorter arrays
are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_day (ICalRecurrence *recur
,guint index
);
Gets the by_day value at index index
. The index should be less than I_CAL_BY_DAY_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_day of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_day (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_day array from ICalRecurrence at the given index. The array size if I_CAL_BY_DAY_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_day of ICalRecurrence |
|
value |
The value to be set into by_day of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_month_day_array
(ICalRecurrence *recur
);
Gets the by_month_day array from ICalRecurrence. The array size is I_CAL_BY_MONTHDAY_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_month_day_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_month_day array in recur
at once. The array size can be less than I_CAL_BY_MONTHDAY_SIZE.
Shorter arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_month_day (ICalRecurrence *recur
,guint index
);
Gets the by_month_day value at index index
. The index should be less than I_CAL_BY_MONTHDAY_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_month_day of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_month_day (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_month_day array from ICalRecurrence at the given index. The array size if I_CAL_BY_MONTHDAY_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_month_day of ICalRecurrence |
|
value |
The value to be set into by_month_day of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_year_day_array
(ICalRecurrence *recur
);
Gets the by_year_day array from ICalRecurrence. The array size is I_CAL_BY_YEARDAY_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_year_day_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_year_day array in recur
at once. The array size can be less than I_CAL_BY_YEARDAY_SIZE.
Shorter arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_year_day (ICalRecurrence *recur
,guint index
);
Gets the by_year_day value at index index
. The index should be less than I_CAL_BY_YEARDAY_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_year_day of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_year_day (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_year_day array from ICalRecurrence at the given index. The array size if I_CAL_BY_YEARDAY_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_year_day of ICalRecurrence |
|
value |
The value to be set into by_year_day of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_week_no_array (ICalRecurrence *recur
);
Gets the by_week_no array from ICalRecurrence. The array size is I_CAL_BY_WEEKNO_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_week_no_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_week_no array in recur
at once. The array size can be less than I_CAL_BY_WEEKNO_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_week_no (ICalRecurrence *recur
,guint index
);
Gets the by_week_no value at index index
. The index should be less than I_CAL_BY_WEEKNO_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_week_no of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_week_no (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_week_no array from ICalRecurrence at the given index. The array size is I_CAL_BY_WEEKNO_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_week_no of ICalRecurrence |
|
value |
The value to be set into by_week_no of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_month_array (ICalRecurrence *recur
);
Gets the by_month array from ICalRecurrence. The array size is I_CAL_BY_MONTH_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_month_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_month array in recur
at once. The array size can be less than I_CAL_BY_MONTH_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_month (ICalRecurrence *recur
,guint index
);
Gets the by_month value at index index
. The index should be less than I_CAL_BY_MONTH_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_month of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_month (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_month array from ICalRecurrence at the given index. The array size is I_CAL_BY_MONTH_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_month of ICalRecurrence |
|
value |
The value to be set into by_month of ICalRecurrence |
Since: 1.0
GArray *
i_cal_recurrence_get_by_set_pos_array (ICalRecurrence *recur
);
Gets the by_set_pos array from ICalRecurrence. The array size is I_CAL_BY_SETPOS_SIZE.
Since: 1.0
void i_cal_recurrence_set_by_set_pos_array (ICalRecurrence *recur
,GArray *values
);
Sets the by_set_pos array in recur
at once. The array size can be less than I_CAL_BY_SETPOS_SIZE. Shorter
arrays are terminated with I_CAL_RECURRENCE_ARRAY_MAX value, longer arrays are truncated.
Since: 1.0
gshort i_cal_recurrence_get_by_set_pos (ICalRecurrence *recur
,guint index
);
Gets the by_set_pos value at index index
. The index should be less than I_CAL_BY_SETPOS_SIZE
.
recur |
The ICalRecurrence |
|
index |
The index in by_set_pos of ICalRecurrence, less than |
Since: 1.0
void i_cal_recurrence_set_by_set_pos (ICalRecurrence *recur
,guint index
,gshort value
);
Sets the by_set_pos array from ICalRecurrence at the given index. The array size is I_CAL_BY_SETPOS_SIZE.
recur |
The ICalRecurrence |
|
index |
The index in by_set_pos of ICalRecurrence |
|
value |
The value to be set into by_set_pos of ICalRecurrence |
Since: 1.0