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, convertToStringnewConversionException, parseprotected Time createDateLike(long date)
AbstractDateConvertercreateDateLike 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–2014 Apache Software Foundation. All rights reserved.