public final class DateParser extends Object
Constructor and Description |
---|
DateParser() |
Modifier and Type | Method and Description |
---|---|
static Date |
parseDate(String sDate)
Try to parse a date using as many methods as possible, until one
works.
|
static Date |
parseRFC822Date(String sDate)
Parse an RFC 822-style date string.
|
static Date |
parseW3CDate(String sDate)
Parse a W3C date string.
|
public static Date parseDate(String sDate)
sDate
- the date stringpublic static Date parseRFC822Date(String sDate)
sDate
- the date stringCopyright © 2010 - 2020 Adobe. All Rights Reserved