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:106
LOG4CXX_PTR_DEF(Appender)
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146