Inherited by RelativeTimeDateFormat, SimpleDateFormat, StrftimeDateFormat, and CachedDateFormat.
Public Member Functions | |
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. | |
Protected Member Functions | |
DateFormat () | |
Constructor. |
|
Destructor.
|
|
Constructor.
|
|
Formats an log4cxx_time_t into a date/time string.
Implemented in CachedDateFormat, RelativeTimeDateFormat, SimpleDateFormat, and StrftimeDateFormat. |
|
Format an integer consistent with the format method.
Reimplemented in CachedDateFormat. |
|
Sets the time zone.
Reimplemented in SimpleDateFormat, and StrftimeDateFormat. |