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