7 #ifndef KEA_BOOST_TIME_UTILS_H 8 #define KEA_BOOST_TIME_UTILS_H 10 #include <boost/date_time/posix_time/posix_time.hpp> 38 size_t fsecs_precision = MAX_FSECS_PRECISION);
51 size_t fsecs_precision = MAX_FSECS_PRECISION);
std::string durationToText(boost::posix_time::time_duration dur, size_t fsecs_precision=MAX_FSECS_PRECISION)
Converts StatsDuration to text.
std::string ptimeToText(boost::posix_time::ptime t, size_t fsecs_precision=MAX_FSECS_PRECISION)
Converts ptime structure to text.
Defines the logger used by the top-level component of kea-lfc.
const size_t MAX_FSECS_PRECISION
The number of digits of fractional seconds supplied by the underlying class, boost::posix_time.