## ICalRecurrenceType ICalRecurrenceType |

## Synopsis

    #include <i-cal-timetype>

    #define             I_CAL_RECURRENCE_TYPE_TYPE
                        ICalRecurrenceType;
    struct              ICalRecurrenceTypeClass;
    enum                ICalRecurrenceTypeFrequency;
    enum                ICalRecurrenceTypeWeekday;
    ICalRecurrenceType * i_cal_recurrence_type_new_full     (struct icalrecurrencetype native);
    struct icalrecurrencetype i_cal_recurrence_type_new     (void);
    void                i_cal_recurrence_type_clear         (ICalRecurrenceType *r);
    ICalRecurrenceTypeWeekday i_cal_recurrence_type_day_day_of_week
                                                            (gshort day);
    gint                i_cal_recurrence_type_day_position  (gshort day);
    ICalRecurrenceType * i_cal_recurrence_type_from_string  (const gchar *str);
    gchar *             i_cal_recurrence_type_as_string_r   (ICalRecurrenceType *recur);
    ICalTimetype *      i_cal_recurrence_type_get_until     (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_until     (ICalRecurrenceType *recur,
                                                             ICalTimetype *until);
    ICalRecurrenceTypeFrequency i_cal_recurrence_type_get_freq
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_freq      (ICalRecurrenceType *recur,
                                                             ICalRecurrenceTypeFrequency freq);
    gint                i_cal_recurrence_type_get_count     (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_count     (ICalRecurrenceType *recur,
                                                             gint count);
    gshort              i_cal_recurrence_type_get_interval  (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_interval  (ICalRecurrenceType *recur,
                                                             gshort interval);
    ICalRecurrenceTypeWeekday i_cal_recurrence_type_get_week_start
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_week_start
                                                            (ICalRecurrenceType *recur,
                                                             ICalRecurrenceTypeWeekday week_start);
    GArray *            i_cal_recurrence_type_get_by_second (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_second (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_minute (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_minute (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_hour   (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_hour   (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_day    (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_day    (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_month_day
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_month_day
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_year_day
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_year_day
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_week_no
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_week_no
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_month  (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_month  (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);
    GArray *            i_cal_recurrence_type_get_by_set_pos
                                                            (ICalRecurrenceType *recur);
    void                i_cal_recurrence_type_set_by_set_pos
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

## Object Hierarchy

      GObject
       +----ICalObject
             +----ICalRecurrenceType

## Description

## Details

### I_CAL_RECURRENCE_TYPE_TYPE

    #define             I_CAL_RECURRENCE_TYPE_TYPE

### ICalRecurrenceType

    typedef struct _ICalRecurrenceType ICalRecurrenceType;

This is the ICalRecurrenceType instance.

### struct ICalRecurrenceTypeClass

    struct ICalRecurrenceTypeClass {
    };

This is the ICalRecurrenceType class.

### enum ICalRecurrenceTypeFrequency

    typedef enum {
    	I_CAL_SECONDLY_RECURRENCE = ICAL_SECONDLY_RECURRENCE,
    	I_CAL_MINUTELY_RECURRENCE = ICAL_MINUTELY_RECURRENCE,
    	I_CAL_HOURLY_RECURRENCE = ICAL_HOURLY_RECURRENCE,
    	I_CAL_DAILY_RECURRENCE = ICAL_DAILY_RECURRENCE,
    	I_CAL_WEEKLY_RECURRENCE = ICAL_WEEKLY_RECURRENCE,
    	I_CAL_MONTHLY_RECURRENCE = ICAL_MONTHLY_RECURRENCE,
    	I_CAL_YEARLY_RECURRENCE = ICAL_YEARLY_RECURRENCE,
    	I_CAL_NO_RECURRENCE = ICAL_NO_RECURRENCE
    } ICalRecurrenceTypeFrequency;

`I_CAL_SECONDLY_RECURRENCE` |
`I_CAL_MINUTELY_RECURRENCE` |
`I_CAL_HOURLY_RECURRENCE` |
`I_CAL_DAILY_RECURRENCE` |
`I_CAL_WEEKLY_RECURRENCE` |
`I_CAL_MONTHLY_RECURRENCE` |
`I_CAL_YEARLY_RECURRENCE` |
`I_CAL_NO_RECURRENCE` |

### enum ICalRecurrenceTypeWeekday

    typedef enum {
    	I_CAL_NO_WEEKDAY = ICAL_NO_WEEKDAY,
    	I_CAL_SUNDAY_WEEKDAY = ICAL_SUNDAY_WEEKDAY,
    	I_CAL_MONDAY_WEEKDAY = ICAL_MONDAY_WEEKDAY,
    	I_CAL_TUESDAY_WEEKDAY = ICAL_TUESDAY_WEEKDAY,
    	I_CAL_WEDNESDAY_WEEKDAY = ICAL_WEDNESDAY_WEEKDAY,
    	I_CAL_THURSDAY_WEEKDAY = ICAL_THURSDAY_WEEKDAY,
    	I_CAL_FRIDAY_WEEKDAY = ICAL_FRIDAY_WEEKDAY,
    	I_CAL_SATURDAY_WEEKDAY = ICAL_SATURDAY_WEEKDAY
    } ICalRecurrenceTypeWeekday;

`I_CAL_NO_WEEKDAY` |
`I_CAL_SUNDAY_WEEKDAY` |
`I_CAL_MONDAY_WEEKDAY` |
`I_CAL_TUESDAY_WEEKDAY` |
`I_CAL_WEDNESDAY_WEEKDAY` |
`I_CAL_THURSDAY_WEEKDAY` |
`I_CAL_FRIDAY_WEEKDAY` |
`I_CAL_SATURDAY_WEEKDAY` |

### i_cal_recurrence_type_new_full ()

    ICalRecurrenceType * i_cal_recurrence_type_new_full     (struct icalrecurrencetype native);

Create a new libical-glib object from the native libical object and the owner.

`native` : | The native libical object.
Returns : | The newly create libical-glib object. [transfer full]

Since 1.0

### i_cal_recurrence_type_new ()

    struct icalrecurrencetype i_cal_recurrence_type_new     (void);

Returns : | The default value.

Since 1.0

### i_cal_recurrence_type_clear ()

    void                i_cal_recurrence_type_clear         (ICalRecurrenceType *r);

Reset an ICalRecurrenceType.

`r` : | The ICalRecurrenceType to be reset.

Since 1.0

### i_cal_recurrence_type_day_day_of_week ()

    ICalRecurrenceTypeWeekday i_cal_recurrence_type_day_day_of_week
                                                            (gshort day);

Decode a day to a weekday in a week.

`day` : | The encoded day which represents the day of the week and Nth day of the week.
Returns : | The decoded weekday with Monday to be 1.

Since 1.0

### i_cal_recurrence_type_day_position ()

    gint                i_cal_recurrence_type_day_position  (gshort day);

Decode a day to a position of the weekday.

`day` : | The encoded day which represents the day of the week and Nth day of the week.
Returns : | The decoded day of the week. 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc

Since 1.0

### i_cal_recurrence_type_from_string ()

    ICalRecurrenceType * i_cal_recurrence_type_from_string  (const gchar *str);

Convert a string to a ICalRecurrenceType.

`str` : | The string representation of the ICalRecurrenceType
Returns : | The ICalRecurrenceType converted from `str`. [transfer full]

Since 1.0

### i_cal_recurrence_type_as_string_r ()

    gchar *             i_cal_recurrence_type_as_string_r   (ICalRecurrenceType *recur);

Convert a ICalRecurrenceType to a string.

`recur` : | The ICalRecurrenceType to be converted.
Returns : | The string representation of `recur`. [transfer full]

Since 1.0

### i_cal_recurrence_type_get_until ()

    ICalTimetype *      i_cal_recurrence_type_get_until     (ICalRecurrenceType *recur);

Get the until from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
Returns : | The until of ICalRecurrenceType. [transfer full]

Since 1.0

### i_cal_recurrence_type_set_until ()

    void                i_cal_recurrence_type_set_until     (ICalRecurrenceType *recur,
                                                             ICalTimetype *until);

Set the until from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
`until` : | The until of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_freq ()

    ICalRecurrenceTypeFrequency i_cal_recurrence_type_get_freq
                                                            (ICalRecurrenceType *recur);

Get the freq from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
Returns : | The freq of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_set_freq ()

    void                i_cal_recurrence_type_set_freq      (ICalRecurrenceType *recur,
                                                             ICalRecurrenceTypeFrequency freq);

Set the freq from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
`freq` : | The freq of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_count ()

    gint                i_cal_recurrence_type_get_count     (ICalRecurrenceType *recur);

Get the count from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
Returns : | The count of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_set_count ()

    void                i_cal_recurrence_type_set_count     (ICalRecurrenceType *recur,
                                                             gint count);

Set the count from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
`count` : | The count of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_interval ()

    gshort              i_cal_recurrence_type_get_interval  (ICalRecurrenceType *recur);

Get the interval from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
Returns : | The interval of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_set_interval ()

    void                i_cal_recurrence_type_set_interval  (ICalRecurrenceType *recur,
                                                             gshort interval);

Set the interval from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
`interval` : | The interval of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_week_start ()

    ICalRecurrenceTypeWeekday i_cal_recurrence_type_get_week_start
                                                            (ICalRecurrenceType *recur);

Get the week_start from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
Returns : | The week_start of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_set_week_start ()

    void                i_cal_recurrence_type_set_week_start
                                                            (ICalRecurrenceType *recur,
                                                             ICalRecurrenceTypeWeekday week_start);

Set the week_start from ICalRecurrenceType.

`recur` : | The ICalRecurrenceType.
`week_start` : | The week_start of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_second ()

    GArray *            i_cal_recurrence_type_get_by_second (ICalRecurrenceType *recur);

Get the by_second array from ICalRecurrenceType. The array size if ICAL_BY_SECOND_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_second of ICalRecurrenceType. [transfer full][element-type short]

Since 1.0

### i_cal_recurrence_type_set_by_second ()

    void                i_cal_recurrence_type_set_by_second (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_second array from ICalRecurrenceType at the given index. The array size if ICAL_BY_SECOND_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_second of ICalRecurrenceType.
`value` : | The value to be set into by_second of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_minute ()

    GArray *            i_cal_recurrence_type_get_by_minute (ICalRecurrenceType *recur);

Get the by_minute array from ICalRecurrenceType. The array size if ICAL_BY_MINUTE_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_minute of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_minute ()

    void                i_cal_recurrence_type_set_by_minute (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_minute array from ICalRecurrenceType at the given index. The array size if ICAL_BY_MINUTE_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_minute of ICalRecurrenceType.
`value` : | The value to be set into by_minute of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_hour ()

    GArray *            i_cal_recurrence_type_get_by_hour   (ICalRecurrenceType *recur);

Get the by_hour array from ICalRecurrenceType. The array size if ICAL_BY_HOUR_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_hour of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_hour ()

    void                i_cal_recurrence_type_set_by_hour   (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_hour array from ICalRecurrenceType at the given index. The array size if ICAL_BY_HOUR_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_hour of ICalRecurrenceType.
`value` : | The value to be set into by_hour of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_day ()

    GArray *            i_cal_recurrence_type_get_by_day    (ICalRecurrenceType *recur);

Get the by_day array from ICalRecurrenceType. The array size if ICAL_BY_DAY_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_day of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_day ()

    void                i_cal_recurrence_type_set_by_day    (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_day array from ICalRecurrenceType at the given index. The array size if ICAL_BY_DAY_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_day of ICalRecurrenceType.
`value` : | The value to be set into by_day of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_month_day ()

    GArray *            i_cal_recurrence_type_get_by_month_day
                                                            (ICalRecurrenceType *recur);

Get the by_month_day array from ICalRecurrenceType. The array size if ICAL_BY_MONTHDAY_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_month_day of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_month_day ()

    void                i_cal_recurrence_type_set_by_month_day
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_month_day array from ICalRecurrenceType at the given index. The array size if ICAL_BY_MONTHDAY_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_month_day of ICalRecurrenceType.
`value` : | The value to be set into by_month_day of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_year_day ()

    GArray *            i_cal_recurrence_type_get_by_year_day
                                                            (ICalRecurrenceType *recur);

Get the by_year_day array from ICalRecurrenceType. The array size if ICAL_BY_YEARDAY_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_year_day of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_year_day ()

    void                i_cal_recurrence_type_set_by_year_day
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_year_day array from ICalRecurrenceType at the given index. The array size if ICAL_BY_YEARDAY_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_year_day of ICalRecurrenceType.
`value` : | The value to be set into by_year_day of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_week_no ()

    GArray *            i_cal_recurrence_type_get_by_week_no
                                                            (ICalRecurrenceType *recur);

Get the by_week_no array from ICalRecurrenceType. The array size if ICAL_BY_WEEKNO_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_week_no of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_week_no ()

    void                i_cal_recurrence_type_set_by_week_no
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_week_no array from ICalRecurrenceType at the given index. The array size if ICAL_BY_WEEKNO_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_week_no of ICalRecurrenceType.
`value` : | The value to be set into by_week_no of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_month ()

    GArray *            i_cal_recurrence_type_get_by_month  (ICalRecurrenceType *recur);

Get the by_month array from ICalRecurrenceType. The array size if ICAL_BY_MONTH_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_month of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_month ()

    void                i_cal_recurrence_type_set_by_month  (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_month array from ICalRecurrenceType at the given index. The array size if ICAL_BY_MONTH_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_month of ICalRecurrenceType.
`value` : | The value to be set into by_month of ICalRecurrenceType.

Since 1.0

### i_cal_recurrence_type_get_by_set_pos ()

    GArray *            i_cal_recurrence_type_get_by_set_pos
                                                            (ICalRecurrenceType *recur);

Get the by_set_pos array from ICalRecurrenceType. The array size if ICAL_BY_SETPOS_SIZE.

`recur` : | The ICalRecurrenceType.
Returns : | The by_set_pos of ICalRecurrenceType. [transfer full][element-type gshort]

Since 1.0

### i_cal_recurrence_type_set_by_set_pos ()

    void                i_cal_recurrence_type_set_by_set_pos
                                                            (ICalRecurrenceType *recur,
                                                             guint index,
                                                             gshort value);

Set the by_set_pos array from ICalRecurrenceType at the given index. The array size if ICAL_BY_SETPOS_SIZE.

`recur` : | The ICalRecurrenceType.
`index` : | The index in by_set_pos of ICalRecurrenceType.
`value` : | The value to be set into by_set_pos of ICalRecurrenceType.

Since 1.0