ICalTimetype

## ICalTimetype ICalTimetype |

## Synopsis

    #include <i-cal-timezone>

    #define             I_CAL_TIMETYPE_TYPE
                        ICalTimetype;
    struct              ICalTimetypeClass;
    ICalTimetype *      i_cal_timetype_new_full             (struct icaltimetype native);
    struct icaltimetype i_cal_timetype_new_default          (void);
    ICalTimetype *      i_cal_timetype_new                  (void);
    gint                i_cal_timetype_get_year             (ICalTimetype *timetype);
    void                i_cal_timetype_set_year             (ICalTimetype *timetype,
                                                             gint year);
    gint                i_cal_timetype_get_month            (ICalTimetype *timetype);
    void                i_cal_timetype_set_month            (ICalTimetype *timetype,
                                                             gint month);
    gint                i_cal_timetype_get_day              (ICalTimetype *timetype);
    void                i_cal_timetype_set_day              (ICalTimetype *timetype,
                                                             gint day);
    gint                i_cal_timetype_get_hour             (ICalTimetype *timetype);
    void                i_cal_timetype_set_hour             (ICalTimetype *timetype,
                                                             gint hour);
    gint                i_cal_timetype_get_minute           (ICalTimetype *timetype);
    void                i_cal_timetype_set_minute           (ICalTimetype *timetype,
                                                             gint minute);
    gint                i_cal_timetype_get_second           (ICalTimetype *timetype);
    void                i_cal_timetype_set_second           (ICalTimetype *timetype,
                                                             gint second);
    gint                i_cal_timetype_is_utc               (ICalTimetype *timetype);
    void                i_cal_timetype_set_is_utc           (ICalTimetype *timetype,
                                                             gint is_utc);
    gint                i_cal_timetype_is_date              (ICalTimetype *timetype);
    void                i_cal_timetype_set_is_date          (ICalTimetype *timetype,
                                                             gint is_date);
    gint                i_cal_timetype_is_daylight          (ICalTimetype *timetype);
    void                i_cal_timetype_set_is_daylight      (ICalTimetype *timetype,
                                                             gint is_daylight);
    const ICalTimezone * i_cal_timetype_get_zone            (ICalTimetype *timetype);

## Object Hierarchy

      GObject
       +----ICalObject
             +----ICalTimetype

## Description

## Details

### I_CAL_TIMETYPE_TYPE

    #define             I_CAL_TIMETYPE_TYPE

### ICalTimetype

    typedef struct _ICalTimetype ICalTimetype;

This is the ICalTimetype instance.

### struct ICalTimetypeClass

    struct ICalTimetypeClass {
    };

This is the ICalTimetype class.

### i_cal_timetype_new_full ()

    ICalTimetype *      i_cal_timetype_new_full             (struct icaltimetype 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_timetype_new_default ()

    struct icaltimetype i_cal_timetype_new_default          (void);

Create a new ICalTimetype.

Returns : | The newly created ICalTimetype. It is the epoch time (19700-1-1 00:00:00 utc)

Since 1.0

### i_cal_timetype_new ()

    ICalTimetype *      i_cal_timetype_new                  (void);

Create a new ICalTimetype.

Returns : | The newly created ICalTimetype. It is the epoch time (19700-1-1 00:00:00 utc). [transfer full]

Since 1.0

### i_cal_timetype_get_year ()

    gint                i_cal_timetype_get_year             (ICalTimetype *timetype);

Get the year of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The year.

Since 1.0

### i_cal_timetype_set_year ()

    void                i_cal_timetype_set_year             (ICalTimetype *timetype,
                                                             gint year);

Set the year of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`year` : | The year.

Since 1.0

### i_cal_timetype_get_month ()

    gint                i_cal_timetype_get_month            (ICalTimetype *timetype);

Get the month of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The month.

Since 1.0

### i_cal_timetype_set_month ()

    void                i_cal_timetype_set_month            (ICalTimetype *timetype,
                                                             gint month);

Set the month of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`month` : | The month.

Since 1.0

### i_cal_timetype_get_day ()

    gint                i_cal_timetype_get_day              (ICalTimetype *timetype);

Get the day of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The day.

Since 1.0

### i_cal_timetype_set_day ()

    void                i_cal_timetype_set_day              (ICalTimetype *timetype,
                                                             gint day);

Set the day of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`day` : | The day.

Since 1.0

### i_cal_timetype_get_hour ()

    gint                i_cal_timetype_get_hour             (ICalTimetype *timetype);

Get the hour of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The hour.

Since 1.0

### i_cal_timetype_set_hour ()

    void                i_cal_timetype_set_hour             (ICalTimetype *timetype,
                                                             gint hour);

Set the hour of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`hour` : | The hour.

Since 1.0

### i_cal_timetype_get_minute ()

    gint                i_cal_timetype_get_minute           (ICalTimetype *timetype);

Get the minute of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The minute.

Since 1.0

### i_cal_timetype_set_minute ()

    void                i_cal_timetype_set_minute           (ICalTimetype *timetype,
                                                             gint minute);

Set the minute of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`minute` : | The minute.

Since 1.0

### i_cal_timetype_get_second ()

    gint                i_cal_timetype_get_second           (ICalTimetype *timetype);

Get the second of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The second.

Since 1.0

### i_cal_timetype_set_second ()

    void                i_cal_timetype_set_second           (ICalTimetype *timetype,
                                                             gint second);

Set the second of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`second` : | The second.

Since 1.0

### i_cal_timetype_is_utc ()

    gint                i_cal_timetype_is_utc               (ICalTimetype *timetype);

Get the is_utc of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The is_utc.

Since 1.0

### i_cal_timetype_set_is_utc ()

    void                i_cal_timetype_set_is_utc           (ICalTimetype *timetype,
                                                             gint is_utc);

Set the is_utc of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`is_utc` : | The is_utc.

Since 1.0

### i_cal_timetype_is_date ()

    gint                i_cal_timetype_is_date              (ICalTimetype *timetype);

Get the is_date of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The is_date.

Since 1.0

### i_cal_timetype_set_is_date ()

    void                i_cal_timetype_set_is_date          (ICalTimetype *timetype,
                                                             gint is_date);

Set the is_date of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`is_date` : | The is_date.

Since 1.0

### i_cal_timetype_is_daylight ()

    gint                i_cal_timetype_is_daylight          (ICalTimetype *timetype);

Get the is_daylight of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The is_daylight.

Since 1.0

### i_cal_timetype_set_is_daylight ()

    void                i_cal_timetype_set_is_daylight      (ICalTimetype *timetype,
                                                             gint is_daylight);

Set the is_daylight of ICalTimetype.

`timetype` : | The ICalTimetype to be set.
`is_daylight` : | The is_daylight.

Since 1.0

### i_cal_timetype_get_zone ()

    const ICalTimezone * i_cal_timetype_get_zone            (ICalTimetype *timetype);

Get the is_daylight of ICalTimetype.

`timetype` : | The ICalTimetype to be queried.
Returns : | The timezone.

Since 1.0