public static class DateAndTimeConverters.LongToCalendarConverter extends BidirectionalConverter<C,D>
destinationType, mapperFacade, sourceType| Constructor and Description |
|---|
LongToCalendarConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Type<?> sourceType,
Type<?> destinationType)
Answers whether this converter can be used to handle the conversion of
sourceType to destinationType. |
Long |
convertFrom(Calendar source,
Type<Long> destinationType,
MappingContext context) |
Calendar |
convertTo(Long source,
Type<Calendar> destinationType,
MappingContext context) |
boolean |
equals(Object o) |
BidirectionalConverter<D,C> |
reverse() |
String |
toString() |
convertgetAType, getBType, hashCode, setMapperFacadeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetMapperFacadegetAType, getBTypepublic Calendar convertTo(Long source, Type<Calendar> destinationType, MappingContext context)
convertTo in class BidirectionalConverter<Long,Calendar>public Long convertFrom(Calendar source, Type<Long> destinationType, MappingContext context)
convertFrom in class BidirectionalConverter<Long,Calendar>public boolean canConvert(Type<?> sourceType, Type<?> destinationType)
ConvertersourceType to destinationType.canConvert in interface Converter<Object,Object>canConvert in class BidirectionalConverter<Long,Calendar>public BidirectionalConverter<D,C> reverse()
reverse in class BidirectionalConverter<C,D>public String toString()
toString in class BidirectionalConverter<C,D>public boolean equals(Object o)
equals in class CustomConverter<Object,Object>Copyright © 2017 Glasnost. All Rights Reserved.