public class SqlDateConverter extends AbstractDateConverter<Date>
Date
.Constructor and Description |
---|
SqlDateConverter() |
Modifier and Type | Method and Description |
---|---|
protected Date |
createDateLike(long date)
Creates a new instance of D out of the passed date(time) as long
|
protected Class<Date> |
getTargetType() |
convertToObject, convertToString, getDateFormat
newConversionException, parse
protected Date createDateLike(long date)
AbstractDateConverter
createDateLike
in class AbstractDateConverter<Date>
date
- the date(time) in millis since Epochprotected Class<Date> getTargetType()
getTargetType
in class AbstractConverter<Date>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.