Module org.apache.wicket.util
Class SqlTimeConverter
java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<D>
org.apache.wicket.util.convert.converter.AbstractDateConverter<Time>
org.apache.wicket.util.convert.converter.SqlTimeConverter
- All Implemented Interfaces:
Serializable,IConverter<Time>,IClusterable
Converts to
Time.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TimecreateDateLike(long date) Creates a new instance of D out of the passed date(time) as longgetDateFormat(Locale locale) Methods inherited from class org.apache.wicket.util.convert.converter.AbstractDateConverter
convertToObject, convertToStringMethods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
-
Constructor Details
-
SqlTimeConverter
public SqlTimeConverter()
-
-
Method Details
-
createDateLike
Description copied from class:AbstractDateConverterCreates a new instance of D out of the passed date(time) as long- Specified by:
createDateLikein classAbstractDateConverter<Time>- Parameters:
date- the date(time) in millis since Epoch- Returns:
- a new instance of the specific type D
-
getDateFormat
- Overrides:
getDateFormatin classAbstractDateConverter<Time>- Returns:
- Returns the date format.
-
getTargetType
- Specified by:
getTargetTypein classAbstractConverter<Time>- Returns:
- The target type of this type converter
-