org.apache.log4j.helpers
Class ISO8601DateFormat
public class ISO8601DateFormat
- Ceki Gülcü
- Andrew Vajoczki
StringBuffer | format(Date date, StringBuffer sbuf, FieldPosition fieldPosition) - Appends a date in the format "YYYY-mm-dd HH:mm:ss,SSS"
to
sbuf .
|
Date | parse(String s, ParsePosition pos) - This method does not do anything but return
null .
|
ISO8601DateFormat
public ISO8601DateFormat()
ISO8601DateFormat
public ISO8601DateFormat(TimeZone timeZone)
format
public StringBuffer format(Date date,
StringBuffer sbuf,
FieldPosition fieldPosition)
Appends a date in the format "YYYY-mm-dd HH:mm:ss,SSS"
to sbuf
. For example: "1999-11-27 15:49:37,459".
- format in interface AbsoluteTimeDateFormat
sbuf
- the StringBuffer
to write to
parse
public Date parse(String s,
ParsePosition pos)
This method does not do anything but return null
.
Copyright 2000-2005 Apache Software Foundation.