Lines Matching refs:period
79 timelib_rel_time *period;
196 period = "P" (number "Y")? (number "M")? (number "W")? (number "D")? ("T" (number "H")? (number "…
243 period
247 DEBUG_OUTPUT("period");
262 case 'Y': s->period->y = nr; break;
263 case 'W': s->period->d += nr * 7; break;
264 case 'D': s->period->d += nr; break;
265 case 'H': s->period->h = nr; break;
266 case 'S': s->period->s = nr; break;
269 s->period->i = nr;
271 s->period->m = nr;
275 add_error(s, "Undefined period specifier");
289 s->period->y = timelib_get_unsigned_nr(&ptr, 4);
291 s->period->m = timelib_get_unsigned_nr(&ptr, 2);
293 s->period->d = timelib_get_unsigned_nr(&ptr, 2);
295 s->period->h = timelib_get_unsigned_nr(&ptr, 2);
297 s->period->i = timelib_get_unsigned_nr(&ptr, 2);
299 s->period->s = timelib_get_unsigned_nr(&ptr, 2);
331 timelib_rel_time **period, int *recurrences,
398 in.period = timelib_rel_time_ctor();
399 in.period->y = 0;
400 in.period->d = 0;
401 in.period->m = 0;
402 in.period->h = 0;
403 in.period->i = 0;
404 in.period->s = 0;
405 in.period->weekday = 0;
406 in.period->weekday_behavior = 0;
407 in.period->first_last_day_of = 0;
408 in.period->days = TIMELIB_UNSET;
436 *period = in.period;
438 timelib_rel_time_dtor(in.period);