ICalRecurIterator

ICalRecurIterator

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ICalObject
        ╰── ICalRecurIterator

Includes

#include <i-cal-recurrence-type>
#include <i-cal-timetype>

Description

Functions

i_cal_recur_iterator_new_full ()

ICalRecurIterator *
i_cal_recur_iterator_new_full (icalrecur_iterator *native,
                               GObject *owner);

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

Parameters

native

The native libical object.

 

owner

The parent.

 

Returns

The newly create libical-glib object.

[transfer full]

Since 1.0


i_cal_recur_iterator_new ()

ICalRecurIterator *
i_cal_recur_iterator_new (ICalRecurrenceType *rule,
                          ICalTimetype *dtstart);

Create a ICalRecurIterator.

Parameters

rule

The rule applied on the ICalRecurIterator.

 

dtstart

The start time of the recurrence.

 

Returns

The newly created ICalRecurIterator.

[transfer full]

Since 1.0


i_cal_recur_iterator_next ()

ICalTimetype *
i_cal_recur_iterator_next (ICalRecurIterator *iterator);

Get the next occurrence from an iterator.

Parameters

iterator

The iterator.

 

Returns

The next occurrence according to this recurrence rule.

[transfer none]

Since 1.0


i_cal_recur_iterator_free ()

void
i_cal_recur_iterator_free (ICalRecurIterator *iterator);

Free an iterator.

Parameters

iterator

The iterator to be freed.

 

Since 1.0

Types and Values

I_CAL_RECUR_ITERATOR_TYPE

#define             I_CAL_RECUR_ITERATOR_TYPE

ICalRecurIterator

typedef struct _ICalRecurIterator ICalRecurIterator;

This is the ICalRecurIterator instance.


struct ICalRecurIteratorClass

struct ICalRecurIteratorClass {
};

This is the ICalRecurIterator class.