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 DateFormatter
public String format(Date date)
format
in interface DateFormatter
public Date parse(String date) throws ParseException
parse
in interface DateFormatter
ParseException
Copyright © 2021. All Rights Reserved.