Apache Log4cxx Version 1.1.0
Loading...
Searching...
No Matches
log4cxx::helpers::DateTimeDateFormat Class Reference

Formats a date in the format dd MMM yyyy HH:mm:ss,SSS for example, "06 Nov 1994 15:49:37,459". More...

#include <datetimedateformat.h>

Inheritance diagram for log4cxx::helpers::DateTimeDateFormat:
log4cxx::helpers::SimpleDateFormat log4cxx::helpers::DateFormat log4cxx::helpers::Object

Public Member Functions

 DateTimeDateFormat ()
 
 DateTimeDateFormat (const std::locale *locale)
 
- Public Member Functions inherited from log4cxx::helpers::SimpleDateFormat
 SimpleDateFormat (const LogString &pattern)
 A time converter and formatter using pattern and the default std::locale.
 
 SimpleDateFormat (const LogString &pattern, const std::locale *locale)
 A time converter and formatter using pattern and locale.
 
 ~SimpleDateFormat ()
 
virtual void format (LogString &s, log4cxx_time_t tm, log4cxx::helpers::Pool &p) const
 Formats an log4cxx_time_t into a date/time string.
 
void setTimeZone (const TimeZonePtr &zone)
 Set time zone.
 
- Public Member Functions inherited from log4cxx::helpers::DateFormat
virtual ~DateFormat ()
 Destructor.
 
virtual void format (LogString &s, log4cxx_time_t tm, log4cxx::helpers::Pool &p) const =0
 Formats an log4cxx_time_t into a date/time string.
 
virtual void setTimeZone (const TimeZonePtr &zone)
 Sets the time zone.
 
virtual void numberFormat (LogString &s, int n, log4cxx::helpers::Pool &p) const
 Format an integer consistent with the format method.
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from log4cxx::helpers::DateFormat
 DateFormat ()
 Constructor.
 

Detailed Description

Formats a date in the format dd MMM yyyy HH:mm:ss,SSS for example, "06 Nov 1994 15:49:37,459".

Constructor & Destructor Documentation

◆ DateTimeDateFormat() [1/2]

log4cxx::helpers::DateTimeDateFormat::DateTimeDateFormat ( )
inline

◆ DateTimeDateFormat() [2/2]

log4cxx::helpers::DateTimeDateFormat::DateTimeDateFormat ( const std::locale *  locale)
inline

The documentation for this class was generated from the following file: