public class

DateTimeDateFormat

extends AbsoluteTimeDateFormat
java.lang.Object
   ↳ java.text.Format
     ↳ java.text.DateFormat
       ↳ org.apache.log4j.helpers.AbsoluteTimeDateFormat
         ↳ org.apache.log4j.helpers.DateTimeDateFormat

Class Overview

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

Summary

[Expand]
Inherited Constants
From class org.apache.log4j.helpers.AbsoluteTimeDateFormat
From class java.text.DateFormat
[Expand]
Inherited Fields
From class java.text.DateFormat
Public Constructors
DateTimeDateFormat()
DateTimeDateFormat(TimeZone timeZone)
Public Methods
StringBuffer format(Date date, StringBuffer sbuf, FieldPosition fieldPosition)
Appends to sbuf the date in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".
Date parse(String s, ParsePosition pos)
This method does not do anything but return null.
[Expand]
Inherited Methods
From class org.apache.log4j.helpers.AbsoluteTimeDateFormat
From class java.text.DateFormat
From class java.text.Format
From class java.lang.Object

Public Constructors

public DateTimeDateFormat ()

public DateTimeDateFormat (TimeZone timeZone)

Public Methods

public StringBuffer format (Date date, StringBuffer sbuf, FieldPosition fieldPosition)

Appends to sbuf the date in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".

Parameters
date the date to format
sbuf the string buffer to write to
fieldPosition remains untouched

public Date parse (String s, ParsePosition pos)

This method does not do anything but return null.