Android

org.apache.http.protocol.HttpDateGenerator

java.lang.Object
org.apache.http.protocol.HttpDateGenerator

Generates a date in the format required by the HTTP protocol.

Summary

Constants

      Value  
TimeZone  GMT  The time zone to use in the date header.     
String  PATTERN_RFC1123  Date format pattern used to generate the header in RFC 1123 format.  "EEE, dd MMM yyyy HH:mm:ss zzz" 

Public Constructors

            HttpDateGenerator()

Public Methods

  synchronized        String  getCurrentDate()
Methods inherited from class java.lang.Object

Details

Constants

public static final TimeZone GMT

The time zone to use in the date header.

public static final String PATTERN_RFC1123

Date format pattern used to generate the header in RFC 1123 format.
Constant Value: "EEE, dd MMM yyyy HH:mm:ss zzz"

Public Constructors

public HttpDateGenerator()

Public Methods

public synchronized String getCurrentDate()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56