org.apache.log4j.helpers
public class AbsoluteTimeDateFormat extends DateFormat
Since: 0.7.5
Field Summary | |
---|---|
static String | ABS_TIME_DATE_FORMAT
String constant used to specify {@link
org.apache.log4j.helpers.AbsoluteTimeDateFormat} in layouts. |
static String | DATE_AND_TIME_DATE_FORMAT
String constant used to specify {@link
org.apache.log4j.helpers.DateTimeDateFormat} in layouts. |
static String | ISO8601_DATE_FORMAT
String constant used to specify {@link
org.apache.log4j.helpers.ISO8601DateFormat} in layouts. |
Constructor Summary | |
---|---|
AbsoluteTimeDateFormat() | |
AbsoluteTimeDateFormat(TimeZone timeZone) |
Method Summary | |
---|---|
StringBuffer | format(Date date, StringBuffer sbuf, FieldPosition fieldPosition)
Appends to sbuf the time in the format
"HH:mm:ss,SSS" for example, "15:49:37,459" |
Date | parse(String s, ParsePosition pos)
This method does not do anything but return null . |
sbuf
the time in the format
"HH:mm:ss,SSS" for example, "15:49:37,459"Parameters: date the date to format sbuf the string buffer to write to fieldPosition remains untouched
null
.