![]() |
![]() |
![]() |
libical-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <i-cal-duration-type> #include <i-cal-timetype> #define I_CAL_PERIOD_TYPE_TYPE ICalPeriodType; struct ICalPeriodTypeClass; ICalPeriodType * i_cal_period_type_new_full (struct icalperiodtype native
); ICalTimetype * i_cal_period_type_get_start (ICalPeriodType *period
); void i_cal_period_type_set_start (ICalPeriodType *period
,ICalTimetype *start
); ICalTimetype * i_cal_period_type_get_end (ICalPeriodType *period
); void i_cal_period_type_set_end (ICalPeriodType *period
,ICalTimetype *end
); ICalDurationType * i_cal_period_type_get_duration (ICalPeriodType *period
); void i_cal_period_type_set_duration (ICalPeriodType *period
,ICalDurationType *duration
); ICalPeriodType * i_cal_period_type_from_string (const gchar *str
); gchar * i_cal_period_type_as_ical_string_r (ICalPeriodType *p
); ICalPeriodType * i_cal_period_type_null_period (void
); gint i_cal_period_type_is_null_period (ICalPeriodType *p
); gint i_cal_period_type_is_valid_period (ICalPeriodType *p
);
ICalPeriodType * i_cal_period_type_new_full (struct icalperiodtype 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
ICalTimetype * i_cal_period_type_get_start (ICalPeriodType *period
);
Get the start time from an ICalPeriodType.
|
The ICalPeriodType to be queried. |
Returns : |
The start of period . [transfer full]
|
Since 1.0
void i_cal_period_type_set_start (ICalPeriodType *period
,ICalTimetype *start
);
Set the start time of an ICalPeriodType.
|
The ICalPeriodType to be set. |
|
The start of period . |
Since 1.0
ICalTimetype * i_cal_period_type_get_end (ICalPeriodType *period
);
Get the end time from an ICalPeriodType.
|
The ICalPeriodType to be queried. |
Returns : |
The end of period . [transfer full]
|
Since 1.0
void i_cal_period_type_set_end (ICalPeriodType *period
,ICalTimetype *end
);
Set the end time of an ICalPeriodType.
|
The ICalPeriodType to be set. |
|
The end of period . |
Since 1.0
ICalDurationType * i_cal_period_type_get_duration (ICalPeriodType *period
);
Get the duration from an ICalPeriodType.
|
The ICalPeriodType to be queried. |
Returns : |
The duration of period . [transfer full]
|
Since 1.0
void i_cal_period_type_set_duration (ICalPeriodType *period
,ICalDurationType *duration
);
Set the duration of an ICalPeriodType.
|
The ICalPeriodType to be set. |
|
The duration of period . |
Since 1.0
ICalPeriodType * i_cal_period_type_from_string (const gchar *str
);
Create a ICalPeriodType from a string.
|
The string used to create the ICalPeriodType |
Returns : |
The newly created ICalPeriodType. [transfer full] |
Since 1.0
gchar * i_cal_period_type_as_ical_string_r (ICalPeriodType *p
);
Translate ICalPeriodType to string.
|
The ICalPeriodType to be translated. |
Returns : |
The string representation of ICalPeriodType. [transfer full] |
Since 1.0
ICalPeriodType * i_cal_period_type_null_period (void
);
Create a default ICalPeriodType.
Returns : |
The newly created default ICalPeriodType. [transfer full] |
Since 1.0
gint i_cal_period_type_is_null_period (ICalPeriodType *p
);
Check the ICalPeriodType is null_period.
|
The ICalPeriodType to be checked. |
Returns : |
1 if yes, 0 if not. |
Since 1.0
gint i_cal_period_type_is_valid_period (ICalPeriodType *p
);
Check the ICalPeriodType is valid_period.
|
The ICalPeriodType to be checked. |
Returns : |
1 if yes, 0 if not. |
Since 1.0