Summary
[Expand]
Inherited Constants |
From class
org.apache.log4j.helpers.AbsoluteTimeDateFormat
|
From class
java.text.DateFormat
int |
AM_PM_FIELD |
|
int |
DATE_FIELD |
|
int |
DAY_OF_WEEK_FIELD |
|
int |
DAY_OF_WEEK_IN_MONTH_FIELD |
|
int |
DAY_OF_YEAR_FIELD |
|
int |
DEFAULT |
|
int |
ERA_FIELD |
|
int |
FULL |
|
int |
HOUR0_FIELD |
|
int |
HOUR1_FIELD |
|
int |
HOUR_OF_DAY0_FIELD |
|
int |
HOUR_OF_DAY1_FIELD |
|
int |
LONG |
|
int |
MEDIUM |
|
int |
MILLISECOND_FIELD |
|
int |
MINUTE_FIELD |
|
int |
MONTH_FIELD |
|
int |
SECOND_FIELD |
|
int |
SHORT |
|
int |
TIMEZONE_FIELD |
|
int |
WEEK_OF_MONTH_FIELD |
|
int |
WEEK_OF_YEAR_FIELD |
|
int |
YEAR_FIELD |
|
|
[Expand]
Inherited Fields |
From class
java.text.DateFormat
protected
Calendar |
calendar |
|
protected
NumberFormat |
numberFormat |
|
|
Public Methods |
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 .
|
[Expand]
Inherited Methods |
From class
org.apache.log4j.helpers.AbsoluteTimeDateFormat
|
From class
java.text.DateFormat
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
abstract
StringBuffer
|
format(Date arg0, StringBuffer arg1, FieldPosition arg2)
|
final
StringBuffer
|
format(Object arg0, StringBuffer arg1, FieldPosition arg2)
|
final
String
|
format(Date arg0)
|
static
Locale[]
|
getAvailableLocales()
|
Calendar
|
getCalendar()
|
final
static
DateFormat
|
getDateInstance(int arg0)
|
final
static
DateFormat
|
getDateInstance(int arg0, Locale arg1)
|
final
static
DateFormat
|
getDateInstance()
|
final
static
DateFormat
|
getDateTimeInstance(int arg0, int arg1, Locale arg2)
|
final
static
DateFormat
|
getDateTimeInstance(int arg0, int arg1)
|
final
static
DateFormat
|
getDateTimeInstance()
|
final
static
DateFormat
|
getInstance()
|
NumberFormat
|
getNumberFormat()
|
final
static
DateFormat
|
getTimeInstance(int arg0)
|
final
static
DateFormat
|
getTimeInstance()
|
final
static
DateFormat
|
getTimeInstance(int arg0, Locale arg1)
|
TimeZone
|
getTimeZone()
|
int
|
hashCode()
|
boolean
|
isLenient()
|
Date
|
parse(String arg0)
|
abstract
Date
|
parse(String arg0, ParsePosition arg1)
|
Object
|
parseObject(String arg0, ParsePosition arg1)
|
void
|
setCalendar(Calendar arg0)
|
void
|
setLenient(boolean arg0)
|
void
|
setNumberFormat(NumberFormat arg0)
|
void
|
setTimeZone(TimeZone arg0)
|
|
From class
java.text.Format
Object
|
clone()
|
final
String
|
format(Object arg0)
|
abstract
StringBuffer
|
format(Object arg0, StringBuffer arg1, FieldPosition arg2)
|
AttributedCharacterIterator
|
formatToCharacterIterator(Object arg0)
|
Object
|
parseObject(String arg0)
|
abstract
Object
|
parseObject(String arg0, ParsePosition arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ISO8601DateFormat
()
public
ISO8601DateFormat
(TimeZone timeZone)
Public Methods
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".
Parameters
date
| the date to format |
sbuf
| the StringBuffer to write to
|
fieldPosition
| remains untouched
|
public
Date
parse
(String s, ParsePosition pos)
This method does not do anything but return null
.