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

Definition at line 281 of file Time.cc.

References str, and time.

Referenced by StateMachineSmartFACT::Execute(), Moon::Moon(), and Sun::Sun().

282 {
283  ostringstream str;
284  if (time>*this)
285  str << time-*this;
286  else
287  str << *this-time;
288  return str.str().substr(0, 5);
289 }
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: