Class CalendarToInstantTypeConverter<T extends Calendar>
java.lang.Object
com.blazebit.persistence.view.impl.type.AbstractInstantTypeConverter<T>
com.blazebit.persistence.view.impl.type.CalendarToInstantTypeConverter<T>
- All Implemented Interfaces:
TypeConverter<T,Object>
public abstract class CalendarToInstantTypeConverter<T extends Calendar> extends AbstractInstantTypeConverter<T>
- Since:
- 1.4.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static CalendarToInstantTypeConverter<Calendar>
JAVA_UTIL_CALENDAR_CONVERTER
static CalendarToInstantTypeConverter<GregorianCalendar>
JAVA_UTIL_GREGORIAN_CALENDAR_CONVERTER
-
Constructor Summary
Constructors Constructor Description CalendarToInstantTypeConverter()
-
Method Summary
Modifier and Type Method Description Object
convertToViewType(Calendar 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
-
JAVA_UTIL_CALENDAR_CONVERTER
-
JAVA_UTIL_GREGORIAN_CALENDAR_CONVERTER
public static final CalendarToInstantTypeConverter<GregorianCalendar> JAVA_UTIL_GREGORIAN_CALENDAR_CONVERTER
-
-
Constructor Details
-
CalendarToInstantTypeConverter
public CalendarToInstantTypeConverter()
-
-
Method Details