libtime++: Date and time calculation

◆ operator%=()

TRelativeTime & libtime::TRelativeTime::operator%= ( const timeint n)
inline

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

References libtime::TBaseClassTime::Mtime_Ts, time_clear(), time_div(), and time_norm().

469 {
470  time_kernel::time_Ts B(Mtime_Ts);
471  timeint rest;
472  time_kernel::time_div(B, &Mtime_Ts, n, &rest);
474  Mtime_Ts.micsec=rest;
476  return(*this);
477 }
void time_div(time_Ts Date1, time_Ts *Pdate2, timeint n, timeint *rest)
Definition: ctime_div.c:36
time_kernel::time_Ts Mtime_Ts
Definition: libtime++.h:140
void time_clear(time_Ts *Pdate)
Definition: ctime_clear.c:33
void time_norm(time_Ts *Pdate)
Definition: ctime_norm.c:33
integer timeint
Definition: libtime.h:77
Here is the call graph for this function: