JavaTM 2 Platform
Std. Ed. v1.3

Uses of Class
java.sql.Date

Packages that use Date
java.sql Provides the API for accessing and processing data in a data source using the JavaTM programming language. 
 

Uses of Date in java.sql
 

Methods in java.sql that return Date
static Date Date.valueOf(String s)
          Converts a string in JDBC date escape format to a Date value.
 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.
 Date SQLInput.readDate()
          Reads the next attribute in the stream as a java.sql.Date object.
 Date ResultSet.getDate(int columnIndex)
          Gets 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)
          Gets 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)
          Returns 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)
          Returns 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 PreparedStatement.setDate(int parameterIndex, Date x)
          Sets the designated parameter to a 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 SQLOutput.writeDate(Date x)
          Writes the next attribute to the stream as a java.sql.Date 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.
 


JavaTM 2 Platform
Std. Ed. v1.3

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.