32 subroutine time_nfit(date1, date2, n, full)
52 integer date1(7), date2(7), n, full(7)
54 double precision d1, d2
55 integer limit(7), i, time_compare, c, dif(7), dhalf(7), rest
56 data limit/-1,-1,24,60,60,1000,1000/
58 if ((date1(1).ne.0).or.(date2(1).ne.0))
then 66 d1=d1*float(limit(i))+float(date1(i))
67 d2=d2*float(limit(i))+float(date2(i))
69 if (d1.gt.(d2*2.**31))
then 71 &
'ratio exceeds integer value range')
76 dhalf(7)=dhalf(7)+rest
80 c=time_compare(date1, full)
83 if (time_compare(dif, dhalf).gt.0)
then void time_div(time_Ts Date1, time_Ts *Pdate2, timeint n, timeint *rest)
subroutine time_util_fatal(caller, text)
void time_norm(time_Ts *Pdate)
void time_sub(time_Ts Date1, time_Ts Date2, time_Ts *Pdate3)
void time_nfit(time_Ts Date1, time_Ts Date2, timeint *n, time_Ts *Pfull)
void time_mul(time_Ts Date1, time_Ts *Pdate2, integer n)