Searched refs:julian0 (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/ntp-92/ntpd/
H A Dcheck_y2k.c231 Test = julian0(year); /* compare with julian0() macro */
234 fprintf( stdout, "%04d: julian0() DAY COUNT ERROR: s/b=%ld was=%ld\n",
354 /* test (what is now julian0) calculations */
383 t = julian0(year) - julian0(1970);
431 t = julian0(year) - julian0(1970); /* Julian day from 1970 */
499 ntp_time = julian0( year0 ); /* NTP starts in 1900-01-01 */
/macosx-10.10.1/ntp-92/include/
H A Dntp.h34 #define julian0(year) (((year) * 365 ) + ((year) > 0 ? (((year) + 3) \ macro
41 #define ntp0(year) (julian0(year) - julian0(1900))
46 #define unix0(year) (julian0(year) - julian0(1970))

Completed in 121 milliseconds