Home » apache-log4j-1.2.16 » org.apache » log4j » helpers » [javadoc | source]
org.apache.log4j.helpers
public class: DateTimeDateFormat [javadoc | source]
java.lang.Object
   java.text.Format
      java.text.DateFormat
         org.apache.log4j.helpers.AbsoluteTimeDateFormat
            org.apache.log4j.helpers.DateTimeDateFormat

All Implemented Interfaces:
    Serializable, Cloneable

Formats a Date in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".
Field Summary
 String[] shortMonths     
Fields inherited from org.apache.log4j.helpers.AbsoluteTimeDateFormat:
ABS_TIME_DATE_FORMAT,  DATE_AND_TIME_DATE_FORMAT,  ISO8601_DATE_FORMAT
Fields inherited from java.text.DateFormat:
calendar,  numberFormat,  ERA_FIELD,  YEAR_FIELD,  MONTH_FIELD,  DATE_FIELD,  HOUR_OF_DAY1_FIELD,  HOUR_OF_DAY0_FIELD,  MINUTE_FIELD,  SECOND_FIELD,  MILLISECOND_FIELD,  DAY_OF_WEEK_FIELD,  DAY_OF_YEAR_FIELD,  DAY_OF_WEEK_IN_MONTH_FIELD,  WEEK_OF_YEAR_FIELD,  WEEK_OF_MONTH_FIELD,  AM_PM_FIELD,  HOUR1_FIELD,  HOUR0_FIELD,  TIMEZONE_FIELD,  FULL,  LONG,  MEDIUM,  SHORT,  DEFAULT
Constructor:
 public DateTimeDateFormat() 
 public DateTimeDateFormat(TimeZone timeZone) 
Method from org.apache.log4j.helpers.DateTimeDateFormat Summary:
format,   parse
Methods from org.apache.log4j.helpers.AbsoluteTimeDateFormat:
format,   parse
Methods from java.text.DateFormat:
clone,   equals,   format,   format,   format,   getAvailableLocales,   getCalendar,   getDateInstance,   getDateInstance,   getDateInstance,   getDateTimeInstance,   getDateTimeInstance,   getDateTimeInstance,   getInstance,   getNumberFormat,   getTimeInstance,   getTimeInstance,   getTimeInstance,   getTimeZone,   hashCode,   isLenient,   parse,   parse,   parseObject,   setCalendar,   setLenient,   setNumberFormat,   setTimeZone
Methods from java.text.Format:
clone,   createAttributedCharacterIterator,   createAttributedCharacterIterator,   createAttributedCharacterIterator,   createAttributedCharacterIterator,   format,   format,   formatToCharacterIterator,   parseObject,   parseObject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.helpers.DateTimeDateFormat Detail:
 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".
 public Date parse(String s,
    ParsePosition pos) 
    This method does not do anything but return null.