Lines Matching refs:jt
37 const struct calendar *jt
43 REQUIRE(jt != NULL);
45 REQUIRE(jt->month <= 13); /* permit month 0..13! */
46 REQUIRE(jt->monthday <= 32);
47 REQUIRE(jt->yearday <= 366);
48 REQUIRE(jt->hour <= 24);
49 REQUIRE(jt->minute <= MINSPERHR);
50 REQUIRE(jt->second <= SECSPERMIN);
58 if (jt->yearday)
59 eraday = ntpcal_year_to_ystart(jt->year)
60 + jt->yearday - 1;
62 eraday = ntpcal_date_to_rd(jt);
65 ntpcal_etime_to_seconds(jt->hour, jt->minute,
66 jt->second));