| 313 | } |
| 314 | |
| 315 | md_timeperiod_t md_timeperiod_common(const md_timeperiod_t *a, const md_timeperiod_t *b) |
| 316 | { |
| 317 | md_timeperiod_t c; |
| 318 | |
| 319 | c.start = (a->start > b->start)? a->start : b->start; |
| 320 | c.end = (a->end < b->end)? a->end : b->end; |
| 321 | if (c.start > c.end) { |
| 322 | c.start = c.end = 0; |
| 323 | } |
| 324 | return c; |
| 325 | } |
| 326 | |
| 327 | apr_time_t md_time_parse_rfc3339(const char *s) |
| 328 | { |
no outgoing calls
no test coverage detected