|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.james.util.RFC822DateFormat
I suppose I could access some of the special messages within Sun's implementation of the JavaMail API, but I've always been told not to do that. This class has one static method that takes a java.util.Date object and returns a nicely formatted String version of this, formatted as per the RFC822 mail date format.
Constructor Summary | |
RFC822DateFormat()
|
Method Summary | |
static java.lang.String |
toString(java.util.Date d)
SimpleDateFormat will handle most of this for us, but the timezone won't match, so we do that manually |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RFC822DateFormat()
Method Detail |
public static java.lang.String toString(java.util.Date d)
d
- Date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |