Class CalendarToLocalDateTypeConverter<T extends Calendar>
java.lang.Object
com.blazebit.persistence.view.impl.type.AbstractLocalDateTypeConverter<T>
com.blazebit.persistence.view.impl.type.CalendarToLocalDateTypeConverter<T>
- All Implemented Interfaces:
TypeConverter<T,Object>
public abstract class CalendarToLocalDateTypeConverter<T extends Calendar> extends AbstractLocalDateTypeConverter<T>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static CalendarToLocalDateTypeConverter<Calendar>
JAVA_UTIL_CALENDAR_CONVERTER
static CalendarToLocalDateTypeConverter<GregorianCalendar>
JAVA_UTIL_GREGORIAN_CALENDAR_CONVERTER
Fields inherited from class com.blazebit.persistence.view.impl.type.AbstractLocalDateTypeConverter
MILLISECOND_CONVERSION_FACTOR
-
Constructor Summary
Constructors Constructor Description CalendarToLocalDateTypeConverter()
-
Method Summary
Modifier and Type Method Description Object
convertToViewType(Calendar object)
Methods inherited from class com.blazebit.persistence.view.impl.type.AbstractLocalDateTypeConverter
ofEpochDay, toEpochDay
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 CalendarToLocalDateTypeConverter<GregorianCalendar> JAVA_UTIL_GREGORIAN_CALENDAR_CONVERTER
-
-
Constructor Details
-
CalendarToLocalDateTypeConverter
public CalendarToLocalDateTypeConverter()
-
-
Method Details