20#include "libical_ical_export.h"
35#define ICALPERIODTYPE_INITIALIZER \
37 ICALTIMETYPE_INITIALIZER, \
38 ICALTIMETYPE_INITIALIZER, \
39 ICALDURATIONTYPE_INITIALIZER}
72LIBICAL_ICAL_EXPORT
struct icalperiodtype icalperiodtype_from_string(const char *str);
144LIBICAL_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:82
char * icalperiodtype_as_ical_string_r(struct icalperiodtype p)
Converts an icalperiodtype into an iCal-formatted string.
Definition icalperiod.c:91
bool icalperiodtype_is_null_period(struct icalperiodtype p)
Definition icalperiod.c:132
bool icalperiodtype_is_valid_period(struct icalperiodtype p)
Definition icalperiod.c:142
struct icaltimetype is a pseudo-object that abstracts time handling.
A struct representing a duration.
Definition icalduration.h:30
Struct to represent a period in time.
Definition icalperiod.h:29