FACT++  1.0
Time DimData::extract ( DimInfo inf) const
inline

Definition at line 11 of file DimData.h.

References DimInfo::getTimestamp(), and DimInfo::getTimestampMillisecs().

12  {
13  // Must be called in exactly this order!
14  const int tsec = inf->getTimestamp();
15  const int tms = inf->getTimestampMillisecs();
16 
17  return Time(tsec, tms*1000);
18  }
Adds some functionality to boost::posix_time::ptime for our needs.
Definition: Time.h:30
int getTimestampMillisecs()
Definition: diccpp.cxx:114
int getTimestamp()
Definition: diccpp.cxx:107

+ Here is the call graph for this function: