public static class DateConverters.StringToDateConverter extends Object implements ValueConverter<Date>
Constructor and Description |
---|
DateConverters.StringToDateConverter(DateFormat format) |
DateConverters.StringToDateConverter(String pattern) |
public DateConverters.StringToDateConverter(String pattern)
public DateConverters.StringToDateConverter(DateFormat format)
public Date convert(Object value) throws IllegalArgumentException
ValueConverter
V
if it is not null
and if such a conversion is supported by this converter. Returns null if
the specified value is null or if the value cannot be converted.convert
in interface ValueConverter<Date>
value
- the unconverted valueIllegalArgumentException
Copyright © 2016. All rights reserved.