public class CalendarConverter extends java.lang.Object implements TypeConverter<java.util.Calendar>
Byte.
Conversion rules:
null value is returned as nullDate object is convertedJulianDate object is convertedLocalDateTime object is convertedLocalDate object is convertedNumber is used as number of milliseconds| Constructor and Description |
|---|
CalendarConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Calendar |
convert(java.lang.Object value)
Converts object received as parameter into object of another class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertpublic java.util.Calendar convert(java.lang.Object value)
TypeConverterInteger converter tries to convert given objects
into target Integer object. Converters should try all reasonable
ways of conversion into target object, depending on target type.convert in interface TypeConverter<java.util.Calendar>value - object to convert fromCopyright © 2003-present Jodd Team