libtime++: Date and time calculation

◆ timeutil_finish()

void timeutil_finish ( timeutil_Ttime td)

Definition at line 95 of file timeutil.c.

References timeutil_doy(), timeutil_norm(), and timeutil_Ttime::year.

Referenced by main(), and timeutil_print().

97 {
98  if (td->year<70) td->year=td->year+2000;
99  if (td->year<100) td->year=td->year+1900;
100  td->doy=timeutil_doy(*td);
101  timeutil_norm(td);
102 } /* timeutil_finish */
long int doy
Definition: timeutil.h:58
void timeutil_norm(timeutil_Ttime *td)
Definition: timeutil.c:187
long int timeutil_doy(timeutil_Ttime td)
Definition: timeutil.c:108
long int year
Definition: timeutil.h:58
Here is the call graph for this function:
Here is the caller graph for this function: