@CompileStatic class DateConversionHelper extends Object implements ValueConverter
Type | Name and description |
---|---|
boolean |
dateParsingLenient Whether data parsing is lenient |
List<String> |
formatStrings A List of String which represent date formats compatible with SimpleDateFormat. |
Constructor and description |
---|
DateConversionHelper() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
canConvert(Object value) |
|
Object |
convert(Object value) |
|
Class<?> |
getTargetType() |
Whether data parsing is lenient
A List of String which represent date formats compatible with SimpleDateFormat. When This converter attempts to convert a String to a Date, these formats will be tried in the order in which they appear in the List.