libtime++: Date and time calculation

◆ operator-() [2/2]

TRelativeTime libtime::TAbsoluteTime::operator- ( const TAbsoluteTime A) const
inline

Definition at line 374 of file libtime++.h.

References libtime::TBaseClassTime::Mtime_Ts, and time_sub().

375 {
376  TRelativeTime B;
377  time_kernel::time_sub(Mtime_Ts, A.Mtime_Ts, &B.Mtime_Ts);
378  return(B);
379 }
time_kernel::time_Ts Mtime_Ts
Definition: libtime++.h:140
void time_sub(time_Ts Date1, time_Ts Date2, time_Ts *Pdate3)
Definition: ctime_sub.c:33
friend class TRelativeTime
Definition: libtime++.h:150
Here is the call graph for this function: