48 integer day, month, date(7)
52 logical time_isleapyear
54 data days/31,28,31,30,31,30,31,31,30,31,30,31,
55 & 31,29,31,30,31,30,31,31,30,31,30,31/
57 if (date(1).eq.0)
then 59 &
'do not use this with relative times')
61 &
'routine skipped...')
64 if (time_isleapyear(date(1)))
then 71 1
if (mon.ge.month)
goto 2
72 result=result+days(mon,sel)
78 &
'month value',month)
80 &
'month value out of range')
subroutine time_util_warning_report_time(caller, date)
subroutine time_util_fatal(caller, text)
subroutine time_util_warning(caller, text)
subroutine time_util_warning_n(caller, text, n)
void time_setdoy(timeint day, timeint month, time_Ts *Pdate)
void time_fullyear(timeint *year)