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