Uses of Class
java.sql.Date
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides the API for server side data source access and processing from
the Java programming language.
Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
-
Uses of Date in java.sql
Modifier and TypeMethodDescriptionCallableStatement.getDate(int parameterIndex)
Retrieves the value of the designated JDBCDATE
parameter as ajava.sql.Date
object.Retrieves the value of the designated JDBCDATE
parameter as ajava.sql.Date
object, using the givenCalendar
object to construct the date.Retrieves the value of a JDBCDATE
parameter as ajava.sql.Date
object.Retrieves the value of a JDBCDATE
parameter as ajava.sql.Date
object, using the givenCalendar
object to construct the date.ResultSet.getDate(int columnIndex)
Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Date
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Date
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Date
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Date
object in the Java programming language.SQLInput.readDate()
Reads the next attribute in the stream and returns it as ajava.sql.Date
object.static Date
Converts a string in JDBC date escape format to aDate
value.static Date
Obtains an instance ofDate
from aLocalDate
object with the same year, month and day of month value as the givenLocalDate
.Modifier and TypeMethodDescriptionvoid
Sets the designated parameter to the givenjava.sql.Date
value using the default time zone of the virtual machine that is running the application.void
Sets the designated parameter to the givenjava.sql.Date
value, using the givenCalendar
object.void
Sets the designated parameter to the givenjava.sql.Date
value using the default time zone of the virtual machine that is running the application.void
Sets the designated parameter to the givenjava.sql.Date
value, using the givenCalendar
object.void
ResultSet.updateDate(int columnIndex, Date x)
Updates the designated column with ajava.sql.Date
value.void
ResultSet.updateDate(String columnLabel, Date x)
Updates the designated column with ajava.sql.Date
value.void
Writes the next attribute to the stream as a java.sql.Date object. -
Uses of Date in javax.sql
Modifier and TypeMethodDescriptionvoid
Sets the designated parameter in thisRowSet
object's command to the givenjava.sql.Date
value.void
Sets the designated parameter in thisRowSet
object's command with the givenjava.sql.Date
value.void
Sets the designated parameter to the givenjava.sql.Date
value using the default time zone of the virtual machine that is running the application.void
Sets the designated parameter to the givenjava.sql.Date
value, using the givenCalendar
object. -
Uses of Date in javax.sql.rowset
Modifier and TypeMethodDescriptionvoid
Sets the designated parameter to the givenjava.sql.Date
value.void
Sets the designated parameter to the givenjava.sql.Date
object.void
Sets the designated parameter to the givenjava.sql.Date
value using the default time zone of the virtual machine that is running the application.void
Sets the designated parameter to the givenjava.sql.Date
value, using the givenCalendar
object. -
Uses of Date in javax.sql.rowset.serial
Modifier and TypeMethodDescriptionSQLInputImpl.readDate()
Retrieves the next attribute in thisSQLInputImpl
as ajava.sql.Date
object.