FACT++  1.0
Time::Time ( const timeval &  tv)

Construct a Time object from a struct timeval.

Parameters
tvstruct timeval

Definition at line 115 of file Time.cc.

116 : ptime(fUnixOffset, time_duration(0, 0, tv.tv_sec, tv.tv_usec*pow(10, time_duration::num_fractional_digits()-6)))
117 {
118 }
static const boost::gregorian::date fUnixOffset
Points to the famous 1/1/1970, the standard offset for unix times.
Definition: Time.h:58