parse_cal_date
count = parse_cal_date(entry.date, &flags, cdays,
int parse_cal_date(const char *date, int *flags, struct cal_day **dayp,