public final class HttpDate
extends Object
Best-effort parser for HTTP dates.
-
Constructor Summary
Constructors
| Constructor |
Description |
HttpDate() |
|
-
Method Summary
| Modifier and Type |
Method |
Description |
static String |
format(Date value) |
Returns the string for value.
|
static Date |
parse(String value) |
Returns the date for value.
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
Returns the date for value. Returns null if the value couldn't be
parsed.
-
Returns the string for value.