7 #ifndef __FWTOOLS_DATEANDTIME_HPP__ 8 #define __FWTOOLS_DATEANDTIME_HPP__ 11 #include <boost/date_time/posix_time/posix_time.hpp> 13 #include "fwTools/config.hpp" 29 FWTOOLS_API ::boost::gregorian::date
strToBoostDate(
const std::string &dateStr );
38 FWTOOLS_API ::boost::posix_time::time_duration
strToBoostTime(
const std::string &timeStr );
49 const std::string &timeStr =
"000000");
58 FWTOOLS_API std::string
getDate( const ::boost::posix_time::ptime &dateAndTime );
68 FWTOOLS_API std::string
getTime ( const ::boost::posix_time::ptime & dateAndTime );
81 #endif // __FWTOOLS_DATEANDTIME_HPP__