// Returns nonzero if the supplied icalcomponent occurs within the specified time range
int caldav_time_range_filter_matches(icalcomponent *cal, char *start_str, char *end_str) {
-
struct icaltimetype start = (start_str ? icaltime_from_string(start_str) : icaltime_null_time());
struct icaltimetype end = (end_str ? icaltime_from_string(end_str) : icaltime_null_time());