18#ifndef _LOG4CXX_HELPERS_DATE_H
19#define _LOG4CXX_HELPERS_DATE_H
22#include <log4cxx/log4cxx.h>
37 const log4cxx_time_t time;
49 inline log4cxx_time_t getTime()
const
Simple transcoder for converting between external char and wchar_t strings and internal strings.
Definition: date.h:36
static log4cxx_time_t getCurrentTimeStd()
static log4cxx_time_t currentTime()
std::function< log4cxx_time_t()> GetCurrentTimeFn
A function that will return the current time(in microseconds) when called.
Definition: date.h:68
static void setGetCurrentTimeFunction(GetCurrentTimeFn fn)
Set the function that is used to get the current time.
static log4cxx_time_t getMicrosecondsPerSecond()
static log4cxx_time_t getMicrosecondsPerDay()
log4cxx_time_t getNextSecond() const
Get start of next second.
base class for java-like objects.
Definition: object.h:105
Definition: configuration.h:25
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:157
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:151
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:42
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:145