Definition at line 136 of file ctlibtime.c.
References arout(), cmptest(), divmultest(), time_Ts::doy, head(), time_Ts::hour, time_Ts::micsec, time_Ts::milsec, time_Ts::minute, time_Ts::second, subaddtest(), subhead(), time_clear(), time_copy(), time_finish(), time_fullyear(), time_getdate(), time_isleapyear(), time_libversion(), time_norm(), time_setdoy(), time_sprint(), and time_Ts::year.
149 head(
"time_libversion");
152 head(
"time_isleapyear");
160 head(
"time_fullyear");
163 printf(
"year 0: %d\n",year);
166 printf(
"year 15: %d\n",year);
169 printf(
"year 97: %d\n",year);
172 printf(
"year 70: %d\n",year);
175 printf(
"year 100: %d\n",year);
178 printf(
"year 69: %d\n",year);
181 printf(
"year 99: %d\n",year);
184 printf(
"year 1831: %d\n",year);
187 printf(
"year 2061: %d\n",year);
194 head(
"time_sprint (time_getdate is implicit)");
207 printf(
"last doy (set by doy): %s\n",
time_sprint(date1));
210 printf(
"relative time value: %s\n",
time_sprint(date1));
276 head(
"time_getdate after time_clear");
280 printf(
"date after time_clear %d %d\n",day,month);
282 head(
"time_add and time_sub");
291 subhead(
"absolute & absolute");
306 subhead(
"absolute & relative");
317 subhead(
"relative & relative");
338 printf(
"date2 after clear: %s\n",
time_sprint(date2));
340 printf(
"date2 after copy: %s\n",
time_sprint(date2));
354 head(
"time_compare");
373 head(
"time_mul and time_div and time_nfit");
integer time_isleapyear(timeint year)
char * time_sprint(time_Ts Date)
void divmultest(time_Ts date1, long int n, time_Ts date2)
void subhead(char *routine)
void time_getdate(timeint *day, timeint *month, time_Ts Date)
void subaddtest(time_Ts date1, time_Ts date2)
void time_setdoy(timeint day, timeint month, time_Ts *Pdate)
void time_clear(time_Ts *Pdate)
void time_copy(time_Ts Date1, time_Ts *Pdate2)
void time_norm(time_Ts *Pdate)
void time_fullyear(timeint *year)
void time_finish(time_Ts *Pdate)
void cmptest(time_Ts date1, time_Ts date2)