Uses of Class
java.sql.Date

Packages that use Date
Package Description
java.sql  
javax.sql  
SQLite.JDBC2z  
  • Uses of Date in java.sql

    Methods in java.sql that return Date
    Modifier and Type Method Description
    Date CallableStatement.getDate​(int parameterIndex)
    Gets the value of the specified JDBC DATE parameter as a java.sql.Date.
    Date CallableStatement.getDate​(int parameterIndex, Calendar cal)
    Gets the value of the specified JDBC DATE parameter as a java.sql.Date, using the specified Calendar to construct the date.
    Date CallableStatement.getDate​(String parameterName)
    Gets the value of the specified JDBC DATE parameter as a java.sql.Date.
    Date CallableStatement.getDate​(String parameterName, Calendar cal)
    Gets the value of the specified JDBC DATE parameter as a java.sql.Date, using the specified Calendar to construct the date.
    Date ResultSet.getDate​(int columnIndex)
    Gets the value of a column specified by column index as a java.sql.Date.
    Date ResultSet.getDate​(int columnIndex, Calendar cal)
    Gets the value of a column specified by column index as a java.sql.Date.
    Date ResultSet.getDate​(String columnName)
    Gets the value of a column specified by column name as a java.sql.Date.
    Date ResultSet.getDate​(String columnName, Calendar cal)
    Gets the value of a column specified by column name, as a java.sql.Date object.
    Date SQLInput.readDate()
    Returns the next attribute in the stream in the form of a java.sql.Date.
    static Date Date.valueOf​(String dateString)
    Creates a Date from a string representation of a date in SQL format.
    Methods in java.sql with parameters of type Date
    Modifier and Type Method Description
    void CallableStatement.setDate​(String parameterName, Date theDate)
    Sets the value of a specified parameter to a supplied java.sql.Date value.
    void CallableStatement.setDate​(String parameterName, Date theDate, Calendar cal)
    Sets the value of a specified parameter to a supplied java.sql.Date value, using a supplied calendar to map the date.
    void PreparedStatement.setDate​(int parameterIndex, Date theDate)
    Sets the value of a specified parameter to a supplied java.sql.Date value.
    void PreparedStatement.setDate​(int parameterIndex, Date theDate, Calendar cal)
    Sets the value of a specified parameter to a supplied java.sql.Date value, using a supplied Calendar to map the Date.
    void ResultSet.updateDate​(int columnIndex, Date x)
    Updates a column specified by a column index with a java.sql.Date value.
    void ResultSet.updateDate​(String columnName, Date x)
    Updates a column specified by a column name with a java.sql.Date value.
    void SQLOutput.writeDate​(Date theDate)
    Write a java.sql.Date value into the output stream.
  • Uses of Date in javax.sql

    Methods in javax.sql with parameters of type Date
    Modifier and Type Method Description
    void RowSet.setDate​(int parameterIndex, Date theDate)
    Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date.
    void RowSet.setDate​(int parameterIndex, Date theDate, Calendar theCalendar)
    Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the date to an SQL DATE value is calculated using a supplied Calendar.
    void RowSet.setDate​(String parameterName, Date theDate)
    Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the Date to an SQL DATE value is calculated using a supplied Calendar.
    void RowSet.setDate​(String parameterName, Date theDate, Calendar theCalendar)
    Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the Date to an SQL DATE value is calculated using a supplied Calendar.
  • Uses of Date in SQLite.JDBC2z

    Methods in SQLite.JDBC2z that return Date
    Modifier and Type Method Description
    Date JDBCPreparedStatement.getDate​(int parameterIndex, Calendar cal)  
    Date JDBCPreparedStatement.getDate​(String parameterName)  
    Date JDBCPreparedStatement.getDate​(String parameterName, Calendar cal)  
    Date JDBCResultSet.getDate​(int columnIndex)  
    Date JDBCResultSet.getDate​(int columnIndex, Calendar cal)  
    Date JDBCResultSet.getDate​(String columnName)  
    Date JDBCResultSet.getDate​(String columnName, Calendar cal)  
    Methods in SQLite.JDBC2z with parameters of type Date
    Modifier and Type Method Description
    void JDBCPreparedStatement.setDate​(int parameterIndex, Date x)  
    void JDBCPreparedStatement.setDate​(int parameterIndex, Date x, Calendar cal)  
    void JDBCPreparedStatement.setDate​(String parameterName, Date val)  
    void JDBCPreparedStatement.setDate​(String parameterName, Date val, Calendar cal)  
    void JDBCResultSet.updateDate​(int colIndex, Date d)  
    void JDBCResultSet.updateDate​(String colName, Date d)