| 1278 | } |
| 1279 | |
| 1280 | static inline int get_min_interval(tmrec_p _trp) |
| 1281 | { |
| 1282 | if(_trp->freq == FREQ_DAILY || _trp->byday || _trp->bymday || _trp->byyday) |
| 1283 | return FREQ_DAILY; |
| 1284 | if(_trp->freq == FREQ_WEEKLY || _trp->byweekno) |
| 1285 | return FREQ_WEEKLY; |
| 1286 | if(_trp->freq == FREQ_MONTHLY || _trp->bymonth) |
| 1287 | return FREQ_MONTHLY; |
| 1288 | if(_trp->freq == FREQ_YEARLY) |
| 1289 | return FREQ_YEARLY; |
| 1290 | |
| 1291 | return FREQ_NOFREQ; |
| 1292 | } |
| 1293 | |
| 1294 | |
| 1295 | int check_recur_itv(struct tm *x, struct tm *bgn, struct tm *end, |
no outgoing calls
no test coverage detected