at.ac.tuwien.infosys.rnue.helpers.http
Class RFC1123DateFormatter

java.lang.Object
  |
  +--at.ac.tuwien.infosys.rnue.helpers.http.RFC1123DateFormatter

public class RFC1123DateFormatter
extends java.lang.Object

Formats a java.util.Date into a RFC1123 compliant date string.


Field Summary
static java.text.SimpleDateFormat rfc1123format
           
 
Constructor Summary
RFC1123DateFormatter()
           
 
Method Summary
static java.lang.String format(java.util.Date d)
          Returns a java.lang.String representing a RFC1123 compliant date string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rfc1123format

public static final java.text.SimpleDateFormat rfc1123format
Constructor Detail

RFC1123DateFormatter

public RFC1123DateFormatter()
Method Detail

format

public static java.lang.String format(java.util.Date d)
Returns a java.lang.String representing a RFC1123 compliant date string.

Parameters:
d - java.util.Date date that should be formatted.
Returns:
string representing the date