Lines Matching refs:period
79 timelib_rel_time *period;
194 period = "P" (number "Y")? (number "M")? (number "W")? (number "D")? ("T" (number "H")? (number "…
241 period
245 DEBUG_OUTPUT("period");
260 case 'Y': s->period->y = nr; break;
261 case 'W': s->period->d = nr * 7; break;
262 case 'D': s->period->d = nr; break;
263 case 'H': s->period->h = nr; break;
264 case 'S': s->period->s = nr; break;
267 s->period->i = nr;
269 s->period->m = nr;
273 add_error(s, "Undefined period specifier");
287 s->period->y = timelib_get_unsigned_nr((char **) &ptr, 4);
289 s->period->m = timelib_get_unsigned_nr((char **) &ptr, 2);
291 s->period->d = timelib_get_unsigned_nr((char **) &ptr, 2);
293 s->period->h = timelib_get_unsigned_nr((char **) &ptr, 2);
295 s->period->i = timelib_get_unsigned_nr((char **) &ptr, 2);
297 s->period->s = timelib_get_unsigned_nr((char **) &ptr, 2);
329 timelib_rel_time **period, int *recurrences,
396 in.period = timelib_rel_time_ctor();
397 in.period->y = 0;
398 in.period->d = 0;
399 in.period->m = 0;
400 in.period->h = 0;
401 in.period->i = 0;
402 in.period->s = 0;
403 in.period->weekday = 0;
404 in.period->weekday_behavior = 0;
405 in.period->first_last_day_of = 0;
406 in.period->days = TIMELIB_UNSET;
434 *period = in.period;
436 timelib_rel_time_dtor(in.period);