Kea 2.5.8
boost_time_utils.h File Reference
#include <boost/date_time/posix_time/posix_time.hpp>
#include <string>
+ Include dependency graph for boost_time_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::util
 

Functions

std::string isc::util::durationToText (boost::posix_time::time_duration dur, size_t fsecs_precision=MAX_FSECS_PRECISION)
 Converts StatsDuration to text.
 
std::string isc::util::ptimeToText (boost::posix_time::ptime t, size_t fsecs_precision=MAX_FSECS_PRECISION)
 Converts ptime structure to text.
 

Variables

const size_t isc::util::MAX_FSECS_PRECISION =boost::posix_time::time_duration::num_fractional_digits()
 The number of digits of fractional seconds supplied by the underlying class, boost::posix_time.