|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Date | |
java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
Uses of Date in java.sql |
Methods in java.sql that return Date | |
Date |
SQLInput.readDate()
Reads the next attribute in the stream and returns it as a java.sql.Date object. |
Date |
CallableStatement.getDate(int parameterIndex)
Retrieves the value of the designated JDBC DATE parameter as a
java.sql.Date object. |
Date |
CallableStatement.getDate(int parameterIndex,
Calendar cal)
Retrieves the value of the designated JDBC DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date. |
Date |
CallableStatement.getDate(String parameterName)
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object. |
Date |
CallableStatement.getDate(String parameterName,
Calendar cal)
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date. |
static Date |
Date.valueOf(String s)
Converts a string in JDBC date escape format to a Date value. |
Date |
ResultSet.getDate(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as
a java.sql.Date object in the Java programming language. |
Date |
ResultSet.getDate(String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as
a java.sql.Date object in the Java programming language. |
Date |
ResultSet.getDate(int columnIndex,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object
in the Java programming language. |
Date |
ResultSet.getDate(String columnName,
Calendar cal)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object
in the Java programming language. |
Methods in java.sql with parameters of type Date | |
void |
SQLOutput.writeDate(Date x)
Writes the next attribute to the stream as a java.sql.Date object. |
void |
CallableStatement.setDate(String parameterName,
Date x)
Sets the designated parameter to the given java.sql.Date value. |
void |
CallableStatement.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object. |
void |
PreparedStatement.setDate(int parameterIndex,
Date x)
Sets the designated parameter to the given java.sql.Date value. |
void |
PreparedStatement.setDate(int parameterIndex,
Date x,
Calendar cal)
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object. |
void |
ResultSet.updateDate(int columnIndex,
Date x)
Updates the designated column with a java.sql.Date value. |
void |
ResultSet.updateDate(String columnName,
Date x)
Updates the designated column with a java.sql.Date value. |
Uses of Date in javax.sql |
Methods in javax.sql with parameters of type Date | |
void |
RowSet.setDate(int parameterIndex,
Date x)
Sets the designated parameter in this RowSet object's command
to the given java.sql.Date value. |
void |
RowSet.setDate(int parameterIndex,
Date x,
Calendar cal)
Sets the designated parameter in this RowSet object's command
with the given java.sql.Date value. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.