org.apache.mailet.base
Class RFC822DateFormat
java.lang.Object
org.apache.mailet.base.SynchronizedDateFormat
org.apache.mailet.base.RFC822DateFormat
- All Implemented Interfaces:
- SimplifiedDateFormat
public class RFC822DateFormat
- extends SynchronizedDateFormat
A thread safe wrapper for the javax.mail.internet.MailDateFormat
class.
Method Summary |
static String |
toString(Date d)
Deprecated. This method is not necessary and is preserved for API
backwards compatibility. Users of this class should
instantiate an instance and use it as they would any
other DateFormat object. |
RFC822DateFormat
public RFC822DateFormat()
- Constructor for RFC822DateFormat
toString
public static String toString(Date d)
- Deprecated. This method is not necessary and is preserved for API
backwards compatibility. Users of this class should
instantiate an instance and use it as they would any
other DateFormat object.
- This static method allows us to format RFC822 dates without
explicitly instantiating an RFC822DateFormat object.
- Parameters:
d
- Date
- Returns:
- java.lang.String
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.