21#include "libical_ical_export.h"
36#define ICALPERIODTYPE_INITIALIZER \
38 ICALTIMETYPE_INITIALIZER, \
39 ICALTIMETYPE_INITIALIZER, \
40 ICALDURATIONTYPE_INITIALIZER}
73LIBICAL_ICAL_EXPORT
struct icalperiodtype icalperiodtype_from_string(const char *str);
145LIBICAL_ICAL_EXPORT
struct icalperiodtype icalperiodtype_null_period(void);
Methods for working with durations in iCal.
const char * icalperiodtype_as_ical_string(struct icalperiodtype p)
Converts an icalperiodtype into an iCal-formatted string.
Definition icalperiod.c:84
char * icalperiodtype_as_ical_string_r(struct icalperiodtype p)
Converts an icalperiodtype into an iCal-formatted string.
Definition icalperiod.c:93
bool icalperiodtype_is_null_period(struct icalperiodtype p)
Definition icalperiod.c:134
bool icalperiodtype_is_valid_period(struct icalperiodtype p)
Definition icalperiod.c:144
struct icaltimetype is a pseudo-object that abstracts time handling.
A struct representing a duration.
Definition icalduration.h:29
Struct to represent a period in time.
Definition icalperiod.h:30