public class CalendarIntType extends Object implements Convertible<Calendar,Integer>
Java Calendar to JDBC INTEGER.| Constructor and Description |
|---|
CalendarIntType(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
ColumnType |
getColumnType() |
Class<Calendar> |
getType() |
Calendar |
toAttribute(Integer jdbc)
Convert the jdbc value to attribute format or type
|
Integer |
toJdbc(Calendar attribute)
Convert attribute to jdbc format or type
|
String |
toString() |
public CalendarIntType(String pattern)
public Integer toJdbc(Calendar attribute)
ConvertibletoJdbc in interface Convertible<Calendar,Integer>attribute - the value of to be convertedpublic Calendar toAttribute(Integer jdbc)
ConvertibletoAttribute in interface Convertible<Calendar,Integer>jdbc - the value stored at databasepublic Class<Calendar> getType()
getType in interface Convertible<Calendar,Integer>public ColumnType getColumnType()
getColumnType in interface Convertible<Calendar,Integer>Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.