libtime++: Date and time calculation

◆ operator-=()

TRelativeTime & libtime::TRelativeTime::operator-= ( const TRelativeTime A)
inline

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

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

439 {
441  time_kernel::time_sub(B.Mtime_Ts, A.Mtime_Ts, &Mtime_Ts);
442  return(*this);
443 }
time_kernel::time_Ts Mtime_Ts
Definition: libtime++.h:140
TRelativeTime(const std::string &Itimestring)
Definition: libtime++.h:392
void time_sub(time_Ts Date1, time_Ts Date2, time_Ts *Pdate3)
Definition: ctime_sub.c:33
Here is the call graph for this function: