68 #include "libical_ical_export.h"
230 #define ICAL_BY_SECOND_SIZE 62
231 #define ICAL_BY_MINUTE_SIZE 61
232 #define ICAL_BY_HOUR_SIZE 25
233 #define ICAL_BY_MONTH_SIZE 14
234 #define ICAL_BY_MONTHDAY_SIZE 32
235 #define ICAL_BY_WEEKNO_SIZE 56
236 #define ICAL_BY_YEARDAY_SIZE 386
237 #define ICAL_BY_SETPOS_SIZE ICAL_BY_YEARDAY_SIZE
238 #define ICAL_BY_DAY_SIZE (7 * (ICAL_BY_WEEKNO_SIZE - 1) + 1)
243 } icalrecurrence_by_data;
492 typedef struct icalrecur_iterator_impl icalrecur_iterator;
611 int count, icaltime_t *array);
bool icalrecur_iterator_set_start(icalrecur_iterator *impl, struct icaltimetype start)
icalrecurrencetype_frequency
icalarray * icalrecurrencetype_rscale_supported_calendars(void)
bool icalrecur_iterator_set_end(icalrecur_iterator *impl, struct icaltimetype end)
icalrecurrencetype_weekday
struct icaltimetype icalrecur_iterator_next(icalrecur_iterator *)
icalrecurrence_by_data by[ICAL_BY_NUM_PARTS]
void icalrecurrencetype_unref(struct icalrecurrencetype *recur)
struct icalrecurrencetype * icalrecurrencetype_new(void)
bool icalrecur_expand_recurrence(const char *rule, icaltime_t start, int count, icaltime_t *array)
Defines the data structure for representing date-times.
icalrecurrencetype_frequency freq
int icalrecurrencetype_month_month(short month)
const char * icalrecur_weekday_to_string(icalrecurrencetype_weekday kind)
bool icalrecurrencetype_month_is_leap(short month)
void ical_set_invalid_rrule_handling_setting(ical_invalid_rrule_handling newSetting)
struct icalrecurrencetype * icalrecurrencetype_new_from_string(const char *str)
bool icalrecur_resize_by(icalrecurrence_by_data *by, short size)
void icalrecur_iterator_free(icalrecur_iterator *impl)
icalrecurrencetype_weekday week_start
icalrecurrencetype_byrule
icalrecurrencetype_skip skip
struct icaltimetype icalrecur_iterator_prev(icalrecur_iterator *impl)
bool icalrecur_iterator_set_range(icalrecur_iterator *impl, struct icaltimetype from, struct icaltimetype to)
void icalrecurrencetype_ref(struct icalrecurrencetype *recur)
enum icalrecurrencetype_weekday icalrecurrencetype_day_day_of_week(short day)
struct icalrecurrencetype * icalrecurrencetype_clone(struct icalrecurrencetype *r)
icalrecurrencetype_weekday icalrecur_string_to_weekday(const char *str)
short icalrecurrencetype_encode_day(enum icalrecurrencetype_weekday weekday, int position)
int icalrecurrencetype_day_position(short day)
struct icaltimetype until
const char * icalrecur_freq_to_string(icalrecurrencetype_frequency kind)
ical_invalid_rrule_handling
short icalrecurrencetype_encode_month(int month, bool is_leap)
ical_invalid_rrule_handling ical_get_invalid_rrule_handling_setting(void)
An array of arbitrarily-sized elements which grows dynamically as elements are added.
icalrecur_iterator * icalrecur_iterator_new(struct icalrecurrencetype *rule, struct icaltimetype dtstart)
char * icalrecurrencetype_as_string_r(struct icalrecurrencetype *recur)
const char * icalrecur_skip_to_string(icalrecurrencetype_skip kind)
icalrecurrencetype_skip icalrecur_string_to_skip(const char *str)
icalrecurrencetype_frequency icalrecur_string_to_freq(const char *str)
char * icalrecurrencetype_as_string(struct icalrecurrencetype *recur)