Lines Matching refs:period
95 struct timelib_rel_time *period;
303 period = "P" (number "Y")? (number "M")? (number "W")? (number "D")? ("T" (number "H")? (number "…
350 period
354 DEBUG_OUTPUT("period");
369 case 'Y': s->period->y = nr; break;
370 case 'W': s->period->d = nr * 7; break;
371 case 'D': s->period->d = nr; break;
372 case 'H': s->period->h = nr; break;
373 case 'S': s->period->s = nr; break;
376 s->period->i = nr;
378 s->period->m = nr;
382 add_error(s, "Undefined period specifier");
396 s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4);
398 s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2);
400 s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2);
402 s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2);
404 s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2);
406 s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2);
438 timelib_rel_time **period, int *recurrences,
505 in.period = timelib_rel_time_ctor();
506 in.period->y = 0;
507 in.period->d = 0;
508 in.period->m = 0;
509 in.period->h = 0;
510 in.period->i = 0;
511 in.period->s = 0;
512 in.period->weekday = 0;
513 in.period->weekday_behavior = 0;
514 in.period->first_last_day_of = 0;
515 in.period->days = TIMELIB_UNSET;
543 *period = in.period;
545 timelib_rel_time_dtor(in.period);