Skip to content

Most visited

Recently visited

navigation

HttpDateGenerator | Android Developers

to top
Android APIs
public class

HttpDateGenerator

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

Class Overview

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

Summary

Constants
String PATTERN_RFC1123 Date format pattern used to generate the header in RFC 1123 format.
Fields
public static final TimeZone GMT The time zone to use in the date header.
Public Constructors
HttpDateGenerator()
Public Methods
synchronized String getCurrentDate()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PATTERN_RFC1123

Added in API level 1

Date format pattern used to generate the header in RFC 1123 format.

Constant Value: "EEE, dd MMM yyyy HH:mm:ss zzz"

Fields

public static final TimeZone GMT

Added in API level 1

The time zone to use in the date header.

Public Constructors

public HttpDateGenerator ()

Added in API level 1

Public Methods

public synchronized String getCurrentDate ()

Added in API level 1

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.