public final class HttpDateFormat
extends java.lang.Object
| Constructor and Description |
|---|
HttpDateFormat() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatDate(long value)
Get the HTTP format of the specified date.
|
static java.lang.String |
getCurrentDate()
Get the current date in HTTP format.
|
static long |
parseDate(java.lang.String value)
Try to parse the given date as a HTTP date.
|
public static java.lang.String getCurrentDate()
public static java.lang.String formatDate(long value)
value - the date.public static long parseDate(java.lang.String value)
value - the HTTP date.