## ICalDatetimeperiodType ICalDatetimeperiodType |

## Synopsis

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

    #define             I_CAL_DATETIMEPERIOD_TYPE_TYPE
                        ICalDatetimeperiodType;
    struct              ICalDatetimeperiodTypeClass;
    ICalDatetimeperiodType * i_cal_datetimeperiod_type_new_full
                                                            (struct icaldatetimeperiodtype native);
    struct icaldatetimeperiodtype i_cal_datetimeperiod_type_new_default
                                                            (void);
    ICalTimetype *      i_cal_datetimeperiod_type_get_time  (ICalDatetimeperiodType *dtp);
    void                i_cal_datetimeperiod_type_set_time  (ICalDatetimeperiodType *dtp,
                                                             ICalTimetype *time);
    ICalPeriodType *    i_cal_datetimeperiod_type_get_period
                                                            (ICalDatetimeperiodType *dtp);
    void                i_cal_datetimeperiod_type_set_period
                                                            (ICalDatetimeperiodType *dtp,
                                                             ICalPeriodType *period);

## Object Hierarchy

      GObject
       +----ICalObject
             +----ICalDatetimeperiodType

## Description

## Details

### I_CAL_DATETIMEPERIOD_TYPE_TYPE

    #define             I_CAL_DATETIMEPERIOD_TYPE_TYPE

### ICalDatetimeperiodType

    typedef struct _ICalDatetimeperiodType ICalDatetimeperiodType;

This is the ICalDatetimeperiodType instance.

### struct ICalDatetimeperiodTypeClass

    struct ICalDatetimeperiodTypeClass {
    };

This is the ICalDatetimeperiodType class.

### i_cal_datetimeperiod_type_new_full ()

    ICalDatetimeperiodType * i_cal_datetimeperiod_type_new_full
                                                            (struct icaldatetimeperiodtype 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_datetimeperiod_type_new_default ()

    struct icaldatetimeperiodtype i_cal_datetimeperiod_type_new_default
                                                            (void);

Create a new default ICalDatetimeperiodType

Returns : | The newly created ICalDatetimeperiodType. [transfer full]

Since 1.0

### i_cal_datetimeperiod_type_get_time ()

    ICalTimetype *      i_cal_datetimeperiod_type_get_time  (ICalDatetimeperiodType *dtp);

Get the time attribute of ICalDatetimeperiodType.

`dtp` : | The ICalDatetimeperiodType to be queried
Returns : | The time attribute of `dtp`. [transfer full]

Since 1.0

### i_cal_datetimeperiod_type_set_time ()

    void                i_cal_datetimeperiod_type_set_time  (ICalDatetimeperiodType *dtp,
                                                             ICalTimetype *time);

Set the time attribute of ICalDatetimeperiodType.

`dtp` : | The ICalDatetimeperiodType to be set
`time` : | The time attribute of `dtp`.

Since 1.0

### i_cal_datetimeperiod_type_get_period ()

    ICalPeriodType *    i_cal_datetimeperiod_type_get_period
                                                            (ICalDatetimeperiodType *dtp);

Get the period attribute of ICalDatetimeperiodType.

`dtp` : | The ICalDatetimeperiodType to be queried
Returns : | The period attribute of `dtp`. [transfer full]

Since 1.0

### i_cal_datetimeperiod_type_set_period ()

    void                i_cal_datetimeperiod_type_set_period
                                                            (ICalDatetimeperiodType *dtp,
                                                             ICalPeriodType *period);

Set the period attribute of ICalDatetimeperiodType.

`dtp` : | The ICalDatetimeperiodType to be set
`period` : | The period attribute of `dtp`.

Since 1.0