Changeset 11208
- Timestamp:
- 06/29/11 15:14:21 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Time.cc
r10469 r11208 43 43 const _time_format Time::magic = "%Y %m %d %H %M %S %f"; 44 44 const _time_format Time::smagic = "%Y %m %d %H %M %S"; 45 46 /*47 using date_time::special_values;48 using date_time::not_special;49 using date_time::neg_infin;50 using date_time::pos_infin;51 using date_time::not_a_date_time;52 using date_time::max_date_time;53 using date_time::min_date_time;54 */55 45 56 46 // -------------------------------------------------------------------------- … … 77 67 } 78 68 69 70 // -------------------------------------------------------------------------- 71 // 72 //! Construct a Time object with a date_time::special_value, e.g. 73 //! 74 //! - neg_infin 75 //! - pos_infin 76 //! - not_a_date_time 77 //! - max_date_time 78 //! - min_date_time 79 //! 80 //! 81 //! @param val 82 //! date_time::special_value 83 // 84 Time::Time(const boost::date_time::special_values &val) : ptime(val) 85 { 86 } 87 79 88 // -------------------------------------------------------------------------- 80 89 // -
trunk/FACT++/src/Time.h
r10460 r11208 60 60 // Constructors 61 61 Time(enum init_t type=utc); 62 Time(const boost::date_time::special_values &val); 62 63 Time(const time_t &tm, const int &ms); 63 64 Time(const ptime &pt) : boost::posix_time::ptime(pt) { }
Note:
See TracChangeset
for help on using the changeset viewer.