Changeset 16376
- Timestamp:
- 05/28/13 13:39:26 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Time.cc
r16196 r16376 101 101 //! number of milliseconds 102 102 // 103 Time::Time(const time_t &tm, const int &millisec)104 : ptime(fUnixOffset, time_duration(0, 0, tm, millisec*pow(10, time_of_day().num_fractional_digits()-3)))103 Time::Time(const time_t &tm, const suseconds_t &usec) 104 : ptime(fUnixOffset, time_duration(0, 0, tm, usec*pow(10, time_of_day().num_fractional_digits()-6))) 105 105 { 106 106 } -
trunk/FACT++/src/Time.h
r16196 r16376 62 62 Time(enum init_t type=utc); 63 63 Time(const boost::date_time::special_values &val); 64 Time(const time_t &tm, const int &ms);64 Time(const time_t &tm, const suseconds_t &us); 65 65 Time(const timeval &tm); 66 66 Time(const ptime &pt) : boost::posix_time::ptime(pt) { }
Note:
See TracChangeset
for help on using the changeset viewer.