| libical-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define I_CAL_DURATION_TYPE_TYPE ICalDurationType; struct ICalDurationTypeClass;gint i_cal_duration_type_is_neg (ICalDurationType *duration_type);void i_cal_duration_type_set_is_neg (ICalDurationType *duration_type,);gint is_negguint i_cal_duration_type_get_days (ICalDurationType *duration_type);void i_cal_duration_type_set_days (ICalDurationType *duration_type,);guint daysguint i_cal_duration_type_get_weeks (ICalDurationType *duration_type);void i_cal_duration_type_set_weeks (ICalDurationType *duration_type,);guint weeksguint i_cal_duration_type_get_hours (ICalDurationType *duration_type);void i_cal_duration_type_set_hours (ICalDurationType *duration_type,);guint hoursguint i_cal_duration_type_get_minutes (ICalDurationType *duration_type);void i_cal_duration_type_set_minutes (ICalDurationType *duration_type,);guint minutesguint i_cal_duration_type_get_seconds (ICalDurationType *duration_type);void i_cal_duration_type_set_seconds (ICalDurationType *duration_type,); ICalDurationType * i_cal_duration_type_from_int (guint seconds); ICalDurationType * i_cal_duration_type_from_string (gint tconst);gchar *strgint i_cal_duration_type_as_int (ICalDurationType *duration);gchar * i_cal_duration_type_as_ical_string_r (ICalDurationType *duration); ICalDurationType * i_cal_duration_type_null_duration (void); ICalDurationType * i_cal_duration_type_bad_duration (void);gint i_cal_duration_type_is_null_duration (ICalDurationType *duration);gint i_cal_duration_type_is_bad_duration (ICalDurationType *duration);
gint i_cal_duration_type_is_neg (ICalDurationType *duration_type);
Get the is_neg of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The is_neg. |
Since 1.0
void i_cal_duration_type_set_is_neg (ICalDurationType *duration_type,);gint is_neg
Set the is_neg of ICalDurationType.
|
The ICalDurationType to be set. |
|
The is_neg. |
Since 1.0
guint i_cal_duration_type_get_days (ICalDurationType *duration_type);
Get the days of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The days. |
Since 1.0
void i_cal_duration_type_set_days (ICalDurationType *duration_type,);guint days
Set the days of ICalDurationType.
|
The ICalDurationType to be set. |
|
The days. |
Since 1.0
guint i_cal_duration_type_get_weeks (ICalDurationType *duration_type);
Get the weeks of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The weeks. |
Since 1.0
void i_cal_duration_type_set_weeks (ICalDurationType *duration_type,);guint weeks
Set the weeks of ICalDurationType.
|
The ICalDurationType to be set. |
|
The weeks. |
Since 1.0
guint i_cal_duration_type_get_hours (ICalDurationType *duration_type);
Get the hours of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The hours. |
Since 1.0
void i_cal_duration_type_set_hours (ICalDurationType *duration_type,);guint hours
Set the hours of ICalDurationType.
|
The ICalDurationType to be set. |
|
The hours. |
Since 1.0
guint i_cal_duration_type_get_minutes (ICalDurationType *duration_type);
Get the minutes of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The minutes. |
Since 1.0
void i_cal_duration_type_set_minutes (ICalDurationType *duration_type,);guint minutes
Set the minutes of ICalDurationType.
|
The ICalDurationType to be set. |
|
The minutes. |
Since 1.0
guint i_cal_duration_type_get_seconds (ICalDurationType *duration_type);
Get the seconds of ICalDurationType.
|
The ICalDurationType to be queried. |
Returns : |
The seconds. |
Since 1.0
void i_cal_duration_type_set_seconds (ICalDurationType *duration_type,);guint seconds
Set the seconds of ICalDurationType.
|
The ICalDurationType to be set. |
|
The seconds. |
Since 1.0
ICalDurationType * i_cal_duration_type_from_int (gint t);
Create a ICalDurationType from the duration in second
|
the duration in second |
Returns : |
The newly created ICalDurationType. [transfer full] |
Since 1.0
ICalDurationType * i_cal_duration_type_from_string (const gchar *str);
Create a ICalDurationType from the duration in string
|
The string representation of the duration |
Returns : |
The newly created ICalDurationType. [transfer full] |
Since 1.0
gint i_cal_duration_type_as_int (ICalDurationType *duration);
Convert the ICalDurationType to the representation in second
|
The ICalDurationType to be converted |
Returns : |
The duration in second |
Since 1.0
gchar * i_cal_duration_type_as_ical_string_r (ICalDurationType *duration);
Convert the ICalDurationType to the representation in string
|
The ICalDurationType to be converted |
Returns : |
The duration in string. [transfer full] |
Since 1.0
ICalDurationType * i_cal_duration_type_null_duration (void);
Create a ICalDurationType with all the fields to be zero
Returns : |
The newly created ICalDurationType. [transfer full] |
Since 1.0
ICalDurationType * i_cal_duration_type_bad_duration (void);
Create a bad ICalDurationType
Returns : |
The newly created ICalDurationType. [transfer full] |
Since 1.0
gint i_cal_duration_type_is_null_duration (ICalDurationType *duration);
Check whether the ICalDurationType is the null_duration
|
The ICalDurationType to be checked |
Returns : |
1 if duration is the null_duration, 0 if not. |
Since 1.0
gint i_cal_duration_type_is_bad_duration (ICalDurationType *duration);
Check whether the ICalDurationType is the bad_duration
|
The ICalDurationType to be checked |
Returns : |
1 if duration is the bad_duration, 0 if not. |
Since 1.0