Class DateToInstantTypeConverter<T extends Date>
java.lang.Object
com.blazebit.persistence.view.impl.type.AbstractInstantTypeConverter<T>
com.blazebit.persistence.view.impl.type.DateToInstantTypeConverter<T>
- All Implemented Interfaces:
TypeConverter<T,Object>
public abstract class DateToInstantTypeConverter<T extends Date> extends AbstractInstantTypeConverter<T>
- Since:
- 1.4.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static DateToInstantTypeConverter<Date>
JAVA_SQL_TIMESTAMP_CONVERTER
static DateToInstantTypeConverter<Date>
JAVA_UTIL_DATE_CONVERTER
-
Constructor Summary
Constructors Constructor Description DateToInstantTypeConverter()
-
Method Summary
Modifier and Type Method Description Object
convertToViewType(Date object)
Methods inherited from class com.blazebit.persistence.view.impl.type.AbstractInstantTypeConverter
ofEpochMilli, toEpochMillis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.spi.type.TypeConverter
convertToUnderlyingType, getUnderlyingType
-
Field Details
-
Constructor Details
-
DateToInstantTypeConverter
public DateToInstantTypeConverter()
-
-
Method Details