@Internal
public final class DateFormatter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer |
append(java.util.Date date,
java.lang.StringBuffer sb)
Append a
Date to a StringBuffer into RFC1123 format. |
static java.lang.String |
format(java.util.Date date)
Format a
Date into RFC1123 format. |
void |
reset() |
public static java.lang.String format(java.util.Date date)
Date
into RFC1123 format.date
- the date to formatpublic static java.lang.StringBuffer append(java.util.Date date, java.lang.StringBuffer sb)
Date
to a StringBuffer
into RFC1123 format.date
- the date to formatsb
- the StringBuilderpublic void reset()