| libical-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#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);
ICalTimetype * i_cal_timetype_new_full (struct icaltimetype native);
Create a new libical-glib object from the native libical object and the owner.
|
The native libical object. |
Returns : |
The newly create libical-glib object. [transfer full] |
Since 1.0
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
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
gint i_cal_timetype_get_year (ICalTimetype *timetype);
Get the year of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The year. |
Since 1.0
void i_cal_timetype_set_year (ICalTimetype *timetype,gint year);
Set the year of ICalTimetype.
|
The ICalTimetype to be set. |
|
The year. |
Since 1.0
gint i_cal_timetype_get_month (ICalTimetype *timetype);
Get the month of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The month. |
Since 1.0
void i_cal_timetype_set_month (ICalTimetype *timetype,gint month);
Set the month of ICalTimetype.
|
The ICalTimetype to be set. |
|
The month. |
Since 1.0
gint i_cal_timetype_get_day (ICalTimetype *timetype);
Get the day of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The day. |
Since 1.0
void i_cal_timetype_set_day (ICalTimetype *timetype,gint day);
Set the day of ICalTimetype.
|
The ICalTimetype to be set. |
|
The day. |
Since 1.0
gint i_cal_timetype_get_hour (ICalTimetype *timetype);
Get the hour of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The hour. |
Since 1.0
void i_cal_timetype_set_hour (ICalTimetype *timetype,gint hour);
Set the hour of ICalTimetype.
|
The ICalTimetype to be set. |
|
The hour. |
Since 1.0
gint i_cal_timetype_get_minute (ICalTimetype *timetype);
Get the minute of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The minute. |
Since 1.0
void i_cal_timetype_set_minute (ICalTimetype *timetype,gint minute);
Set the minute of ICalTimetype.
|
The ICalTimetype to be set. |
|
The minute. |
Since 1.0
gint i_cal_timetype_get_second (ICalTimetype *timetype);
Get the second of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The second. |
Since 1.0
void i_cal_timetype_set_second (ICalTimetype *timetype,gint second);
Set the second of ICalTimetype.
|
The ICalTimetype to be set. |
|
The second. |
Since 1.0
gint i_cal_timetype_is_utc (ICalTimetype *timetype);
Get the is_utc of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The is_utc. |
Since 1.0
void i_cal_timetype_set_is_utc (ICalTimetype *timetype,gint is_utc);
Set the is_utc of ICalTimetype.
|
The ICalTimetype to be set. |
|
The is_utc. |
Since 1.0
gint i_cal_timetype_is_date (ICalTimetype *timetype);
Get the is_date of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The is_date. |
Since 1.0
void i_cal_timetype_set_is_date (ICalTimetype *timetype,gint is_date);
Set the is_date of ICalTimetype.
|
The ICalTimetype to be set. |
|
The is_date. |
Since 1.0
gint i_cal_timetype_is_daylight (ICalTimetype *timetype);
Get the is_daylight of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The is_daylight. |
Since 1.0
void i_cal_timetype_set_is_daylight (ICalTimetype *timetype,gint is_daylight);
Set the is_daylight of ICalTimetype.
|
The ICalTimetype to be set. |
|
The is_daylight. |
Since 1.0
const ICalTimezone * i_cal_timetype_get_zone (ICalTimetype *timetype);
Get the is_daylight of ICalTimetype.
|
The ICalTimetype to be queried. |
Returns : |
The timezone. |
Since 1.0