Kea
1.5.0
boost_time_utils.h
Go to the documentation of this file.
1
// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef KEA_BOOST_TIME_UTILS_H
8
#define KEA_BOOST_TIME_UTILS_H
9
10
#include <boost/date_time/posix_time/posix_time.hpp>
11
#include <string>
12
13
namespace
isc
{
14
namespace
util {
15
29
std::string
ptimeToText
(boost::posix_time::ptime t);
30
37
std::string
durationToText
(boost::posix_time::time_duration dur);
38
39
};
// end of isc::util namespace
40
};
// end of isc namespace
41
42
#endif
isc::util::ptimeToText
std::string ptimeToText(boost::posix_time::ptime t)
Converts ptime structure to text.
Definition:
boost_time_utils.cc:14
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::util::durationToText
std::string durationToText(boost::posix_time::time_duration dur)
Converts StatsDuration to text.
Definition:
boost_time_utils.cc:25
src
lib
util
boost_time_utils.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18