org.apache.mailet.base
Class RFC822DateFormat

java.lang.Object
  extended by org.apache.mailet.base.SynchronizedDateFormat
      extended by 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.


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.mailet.base.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 © 2008-2012 The Apache Software Foundation. All Rights Reserved.