libtime++: Date and time calculation

◆ time_sub()

void time_sub ( time_Ts  Date1,
time_Ts  Date2,
time_Ts Pdate3 
)

Definition at line 33 of file ctime_sub.c.

References time_Tu::array.

Referenced by libtime::TRelativeTime::operator%(), libtime::TAbsoluteTime::operator-(), libtime::TAbsoluteTime::operator-=(), libtime::TRelativeTime::operator-=(), subaddtest(), testlibtime(), and time_nfit().

34 {
35  time_Tu *u1;
36  time_Tu *u2;
37  time_Tu *u3;
38  extern int time_sub__();
39  u1=(time_Tu *)&Date1;
40  u2=(time_Tu *)&Date2;
41  u3=(time_Tu *)Pdate3;
42  time_sub__(&u1->array, &u2->array, &u3->array);
43 } /* time_sub */
integer array[7]
Definition: libtime.h:136
Here is the caller graph for this function: