Searched defs:year (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/
H A Dtime.c115 * is defined, but even the current code is good until the year
135 int year, month, day, hour, minute, second; local
157 &year, &month, &day, &hour, &minute, &second) != 6)
160 RANGE(0, 9999, year);
163 ((month == 2 && is_leap(year)) ? 1 : 0), day);
175 if (is_leap(year) && month > 2)
177 if (year < 1970) {
178 for (i = 1969; i >= year; i--) {
183 for (i = 1970; i < year; i++) {
H A Dgen.c514 char year[11]; local
620 n = snprintf(year, sizeof(year), "-%d",
622 INSIST(n > 0 && (unsigned)n < sizeof(year));
624 year[0] = 0;
626 year[0] = 0;
628 if (!depend) fprintf(stdout, copyright, year);

Completed in 717 milliseconds