class FallbackDateParser extends Object
Modifier and Type | Field and Description |
---|---|
private int |
activeDateParser |
private List<DateFormat> |
dateParsers |
private static String[] |
formats |
Constructor and Description |
---|
FallbackDateParser()
Creates a new instance.
|
private List<DateFormat> dateParsers
private int activeDateParser
public FallbackDateParser()
public Date parse(String date) throws ParseException
date
- The date to parse.ParseException
- Occurs if the date does not match any of the supported date
formats.