org.apache.james.util
Class RFC822DateFormat

java.lang.Object
  |
  +--org.apache.james.util.SynchronizedDateFormat
        |
        +--org.apache.james.util.RFC822DateFormat
All Implemented Interfaces:
SimplifiedDateFormat

public class RFC822DateFormat
extends SynchronizedDateFormat

A thread safe wrapper for the javax.mail.internet.MailDateFormat class.

Author:
Serge Knystautas , Peter M. Goldstein

Constructor Summary
RFC822DateFormat()
          Constructor for RFC822DateFormat
 
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.
 
Methods inherited from class org.apache.james.util.SynchronizedDateFormat
equals, format, getTimeZone, hashCode, isLenient, parse, setLenient, setTimeZone
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFC822DateFormat

public RFC822DateFormat()
Constructor for RFC822DateFormat

Method Detail

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 © 1999-2002 Apache Jakarta Project. All Rights Reserved."