FACT++  1.0
string Time::SecondsTo ( const Time time = Time()) const

Definition at line 291 of file Time.cc.

References str, and time.

Referenced by StateMachineSmartFACT::Execute().

292 {
293  ostringstream str;
294  if (time>*this)
295  str << time-*this;
296  else
297  str << *this-time;
298  return str.str().substr(str.str().substr(0, 3)=="00:" ? 3 : 0, 5);
299 }
char str[80]
Definition: test_client.c:7
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
Definition: smartfact.txt:92

+ Here is the caller graph for this function: