Constructor and Description |
---|
DateSqlType() |
Modifier and Type | Method and Description |
---|---|
void |
bindParam(PreparedStatement ps,
int parameterIndex,
Date value)
bindParam
|
Date[] |
createArray(Date value1,
Date value2)
createArray
|
String |
formatValue(Date value)
formatValue
|
String |
getValueAsString(Date value)
getValueAsString
|
public void bindParam(PreparedStatement ps, int parameterIndex, Date value) throws SQLException
bindParam
bindParam
in interface SQLType<Date>
ps
- a PreparedStatement
object.parameterIndex
- a int.value
- a Date
object.SQLException
- if any.public String getValueAsString(Date value)
getValueAsString
getValueAsString
in interface SQLType<Date>
value
- a Date
object.String
object.public String formatValue(Date value)
formatValue
formatValue
in interface SQLType<Date>
value
- a Date
object.String
object.Copyright © 2018. All rights reserved.