Home | History | Annotate | Download | only in libntp

Lines Matching refs:calendar

1 /*	$NetBSD: calendar.c,v 1.3 2024/08/18 20:47:26 christos Exp $	*/
21 char * CalendarFromCalToString(const struct calendar *cal);
23 int IsEqualCal(const struct calendar *expected, const struct calendar *actual);
25 char * DateFromCalToString(const struct calendar *cal);
27 int IsEqualDateCal(const struct calendar *expected, const struct calendar *actual);
102 const struct calendar *cal)
127 const struct calendar *expected,
128 const struct calendar *actual)
173 const struct calendar *cal)
198 const struct calendar *expected,
199 const struct calendar *actual)
233 struct calendar * jd,
280 struct calendar jdn;
437 struct calendar expected = { 1, 1, 1, 1 };
438 struct calendar actual;
450 struct calendar dateIn, dateOut;
469 struct calendar dateIn, dateOut;
500 * (since the input is all nominal days of the calendar in that range
507 struct calendar truDate, expDate = { 1600, 0, 12, 31 };;
542 struct calendar date;
562 struct calendar date;
602 struct calendar date;
616 * ISO8601 week calendar internals
618 * The ISO8601 week calendar implementation is simple in the terms of
631 * ISO8601 week calendar. This is based on the reference definition of
632 * the ISO week calendar start: The Monday closest to January,1st of the
633 * corresponding year in the Gregorian calendar.
647 * week calendar day.
657 * they are not, the calendar needs a better implementation...
719 struct calendar cal;