org.apache.mailet.dates
Class RFC822DateFormat

java.lang.Object
  extended by org.apache.mailet.dates.SynchronizedDateFormat
      extended by org.apache.mailet.dates.RFC822DateFormat
All Implemented Interfaces:
SimplifiedDateFormat

public class RFC822DateFormat
extends SynchronizedDateFormat

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


Constructor Summary
RFC822DateFormat()
          Constructor for RFC822DateFormat
 
Method Summary
static java.lang.String toString(java.util.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.mailet.dates.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 java.lang.String toString(java.util.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 © 2002-2007 The Apache Software Foundation. All Rights Reserved.