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