7 #ifndef TIME_UTILITIES_H
8 #define TIME_UTILITIES_H 1
12 #include <sys/types.h>
161 #endif // TIME_UTILITIES_H
int64_t gettimeWrapper()
Return the current time in seconds.
A standard DNS (or ISC) module exception that is thrown if a time conversion function encounters bad ...
uint64_t timeFromText64(const string &time_txt)
Convert textual DNSSEC time to integer, 64-bit version.
string timeToText32(const uint32_t value)
Convert integral DNSSEC time to textual form, 32-bit version.
uint32_t timeFromText32(const string &time_txt)
Convert textual DNSSEC time to integer, 32-bit version.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
InvalidTime(const char *file, size_t line, const char *what)
string timeToText64(uint64_t value)
Convert integral DNSSEC time to textual form, 64-bit version.