com.sun.xml.ws.transport.http.client
Class RfcDateParser
java.lang.Object
com.sun.xml.ws.transport.http.client.RfcDateParser
final class RfcDateParser
- extends Object
A parser for date strings commonly found in http and email headers that
follow various RFC conventions. Given a date-string, the parser will
attempt to parse it by trying matches with a set of patterns, returning
null on failure, a Date object on success.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
standardFormats
static final String[] standardFormats
gmtStandardFormats
static final String[] gmtStandardFormats
dateString
String dateString
RfcDateParser
public RfcDateParser(String dateString)
getDate
public Date getDate()