public final class FastHttpDateFormat extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | RFC1123_DATEDeprecated. 
 Unused. This will be removed in Tomcat 10. | 
| Constructor and Description | 
|---|
| FastHttpDateFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | formatDate(long value)Get the HTTP format of the specified date. | 
| static String | formatDate(long value,
          DateFormat threadLocalformat)Deprecated. 
 Unused. This will be removed in Tomcat 10 | 
| static String | getCurrentDate()Get the current date in HTTP format. | 
| static long | parseDate(String value)Try to parse the given date as an HTTP date. | 
| static long | parseDate(String value,
         DateFormat[] threadLocalformats)Deprecated. 
 Unused. This will be removed in Tomcat 10
             Use  parseDate(String) | 
@Deprecated public static final String RFC1123_DATE
public static final String getCurrentDate()
@Deprecated public static final String formatDate(long value, DateFormat threadLocalformat)
value - The datethreadLocalformat - Ignored. The local ConcurrentDateFormat will
                          always be used.public static final String formatDate(long value)
value - The date@Deprecated public static final long parseDate(String value, DateFormat[] threadLocalformats)
parseDate(String)value - The HTTP datethreadLocalformats - Ignored. The local array of
                           ConcurrentDateFormat will always be used.public static final long parseDate(String value)
value - The HTTP date-1 if the value cannot be
         parsedCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.