public class AllFormatsDateFormatter extends Object implements DateFormatter
A Date formatter that includes many different date formats. It will try to parse dates using formats until it finds one that works.
| Constructor and Description |
|---|
AllFormatsDateFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Date date) |
Date |
parse(String date) |
boolean |
supportsParse() |
public boolean supportsParse()
supportsParse in interface DateFormatterpublic String format(Date date)
format in interface DateFormatterpublic Date parse(String date) throws ParseException
parse in interface DateFormatterParseExceptionCopyright © 2021. All Rights Reserved.