public class LocalDateType extends AbstractDateTimeType<org.joda.time.LocalDate>
LocalDateType
maps LocalDate to Date on the JDBC leveldateFormatter, dateTimeFormatter, timeFormatter
Constructor and Description |
---|
LocalDateType() |
LocalDateType(int type) |
Modifier and Type | Method and Description |
---|---|
String |
getLiteral(org.joda.time.LocalDate value)
Get the literal representation
|
Class<org.joda.time.LocalDate> |
getReturnedClass()
Get the returned type
|
org.joda.time.LocalDate |
getValue(ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int startIndex,
org.joda.time.LocalDate value)
Set the object to the statement
|
utc
getSQLTypes
public LocalDateType()
public LocalDateType(int type)
public String getLiteral(org.joda.time.LocalDate value)
Type
getLiteral
in interface Type<org.joda.time.LocalDate>
getLiteral
in class AbstractType<org.joda.time.LocalDate>
value
- valuepublic Class<org.joda.time.LocalDate> getReturnedClass()
Type
public org.joda.time.LocalDate getValue(ResultSet rs, int startIndex) throws SQLException
Type
rs
- result setstartIndex
- column index in result setSQLException
public void setValue(PreparedStatement st, int startIndex, org.joda.time.LocalDate value) throws SQLException
Type
st
- statementstartIndex
- column index in statementvalue
- value to be setSQLException
Copyright © 2007–2016 Querydsl. All rights reserved.