Example usage for org.apache.http.client.utils DateUtils PATTERN_RFC1123

List of usage examples for org.apache.http.client.utils DateUtils PATTERN_RFC1123

Introduction

In this page you can find the example usage for org.apache.http.client.utils DateUtils PATTERN_RFC1123.

Prototype

String PATTERN_RFC1123

To view the source code for org.apache.http.client.utils DateUtils PATTERN_RFC1123.

Click Source Link

Document

Date format pattern used to parse HTTP date headers in RFC 1123 format.

Usage

From source file:org.esigate.servlet.impl.HttpServletSessionTest.java

@Override
protected void setUp() throws Exception {
    format = new SimpleDateFormat(DateUtils.PATTERN_RFC1123, Locale.US);
    format.setTimeZone(TimeZone.getTimeZone("GMT"));
    super.setUp();
}