Java Platform 1.2

Uses of Class
java.sql.Date

Packages that use Date
java.sql Provides the JDBC package. 
 

Uses of Date in java.sql
 

Methods in java.sql that return Date
 Date ResultSet.getDate(int columnIndex)
          Gets the value of a column in the current row as a java.sql.Date object.
 Date ResultSet.getDate(String columnName)
          Gets the value of a column in the current row as a java.sql.Date object.
 Date ResultSet.getDate(int columnIndex, Calendar cal)
          JDBC 2.0 Gets the value of a column in the current row as a java.sql.Date object.
 Date ResultSet.getDate(String columnName, Calendar cal)
          Gets the value of a column in the current row as a java.sql.Date object.
static Date Date.valueOf(String s)
          Converts a string in JDBC date escape format to a Date value.
 Date SQLInput.readDate()
          Reads the next attribute in the stream as a java.sql.Date object.
 Date CallableStatement.getDate(int parameterIndex)
          Gets the value of a JDBC DATE parameter as a java.sql.Date object.
 Date CallableStatement.getDate(int parameterIndex, Calendar cal)
          Gets the value of a JDBC DATE parameter as a java.sql.Date object, using the given Calendar object to construct the date.
 

Methods in java.sql with parameters of type Date
 void PreparedStatement.setDate(int parameterIndex, Date x)
          Sets the designated parameter to a java.sql.Date value.
 void PreparedStatement.setDate(int parameterIndex, Date x, Calendar cal)
          JDBC 2.0 Sets the designated parameter to a java.sql.Date value, using the given Calendar object.
 void ResultSet.updateDate(int columnIndex, Date x)
          JDBC 2.0 Updates a column with a Date value.
 void ResultSet.updateDate(String columnName, Date x)
          JDBC 2.0 Updates a column with a Date value.
 void SQLOutput.writeDate(Date x)
          Writes the next attribute to the stream as a java.sql.Date object.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.