Lines Matching refs:period
101 struct timelib_rel_time *period;
274 period = "P" (number "Y")? (number "M")? (number "W")? (number "D")? ("T" (number "H")? (number "…
321 period
325 DEBUG_OUTPUT("period");
340 case 'Y': s->period->y = nr; break;
341 case 'W': s->period->d = nr * 7; break;
342 case 'D': s->period->d = nr; break;
343 case 'H': s->period->h = nr; break;
344 case 'S': s->period->s = nr; break;
347 s->period->i = nr;
349 s->period->m = nr;
353 add_error(s, "Undefined period specifier");
367 s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4);
369 s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2);
371 s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2);
373 s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2);
375 s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2);
377 s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2);
409 timelib_rel_time **period, int *recurrences,
476 in.period = timelib_rel_time_ctor();
477 in.period->y = 0;
478 in.period->d = 0;
479 in.period->m = 0;
480 in.period->h = 0;
481 in.period->i = 0;
482 in.period->s = 0;
483 in.period->weekday = 0;
484 in.period->weekday_behavior = 0;
485 in.period->first_last_day_of = 0;
486 in.period->days = TIMELIB_UNSET;
514 *period = in.period;
516 timelib_rel_time_dtor(in.period);