Uses of Class
java.sql.Timestamp

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

    Methods in java.sql that return Timestamp
    Modifier and Type Method Description
    Timestamp CallableStatement.getTimestamp​(int parameterIndex)
    Returns the indexed parameter's TIMESTAMP value as a java.sql.Timestamp.
    Timestamp CallableStatement.getTimestamp​(int parameterIndex, Calendar cal)
    Returns the indexed parameter's TIMESTAMP value as a java.sql.Timestamp.
    Timestamp CallableStatement.getTimestamp​(String parameterName)
    Returns the named parameter's TIMESTAMP value as a java.sql.Timestamp.
    Timestamp CallableStatement.getTimestamp​(String parameterName, Calendar cal)
    Returns the indexed parameter's TIMESTAMP value as a java.sql.Timestamp.
    Timestamp ResultSet.getTimestamp​(int columnIndex)
    Gets the value of a column specified by column index as a java.sql.Timestamp value.
    Timestamp ResultSet.getTimestamp​(int columnIndex, Calendar cal)
    Gets the value of a column specified by column index, as a java.sql.Timestamp value.
    Timestamp ResultSet.getTimestamp​(String columnName)
    Gets the value of a column specified by column name, as a java.sql.Timestamp value.
    Timestamp ResultSet.getTimestamp​(String columnName, Calendar cal)
    Gets the value of a column specified by column name, as a java.sql.Timestamp value.
    Timestamp SQLInput.readTimestamp()
    Returns the next attribute in the stream in the form of a java.sql.Timestamp.
    static Timestamp Timestamp.valueOf​(String s)
    Creates a Timestamp object with a time value equal to the time specified by a supplied String holding the time in JDBC timestamp escape format, which is "yyyy-MM-dd HH:mm:ss.nnnnnnnnn"
    Methods in java.sql with parameters of type Timestamp
    Modifier and Type Method Description
    boolean Timestamp.after​(Timestamp theTimestamp)
    Returns true if this timestamp object is later than the supplied timestamp, otherwise returns false.
    boolean Timestamp.before​(Timestamp theTimestamp)
    Returns true if this Timestamp object is earlier than the supplied timestamp, otherwise returns false.
    int Timestamp.compareTo​(Timestamp theTimestamp)
    Compares this Timestamp object with a supplied Timestamp object.
    boolean Timestamp.equals​(Timestamp theTimestamp)
    Tests to see if this timestamp is equal to a supplied timestamp.
    void CallableStatement.setTimestamp​(String parameterName, Timestamp theTimestamp)
    Sets the value of a specified parameter to a supplied java.sql.Timestamp value.
    void CallableStatement.setTimestamp​(String parameterName, Timestamp theTimestamp, Calendar cal)
    Sets the value of a specified parameter to a supplied java.sql.Timestamp value, using the supplied calendar.
    void PreparedStatement.setTimestamp​(int parameterIndex, Timestamp theTimestamp)
    Sets the value of a specified parameter to a supplied java.sql.Timestamp value.
    void PreparedStatement.setTimestamp​(int parameterIndex, Timestamp theTimestamp, Calendar cal)
    Sets the value of a specified parameter to a supplied java.sql.Timestamp value, using the supplied Calendar.
    void ResultSet.updateTimestamp​(int columnIndex, Timestamp x)
    Updates a column specified by a column index with a Timestamp value.
    void ResultSet.updateTimestamp​(String columnName, Timestamp x)
    Updates a column specified by column name with a Timestamp value.
    void SQLOutput.writeTimestamp​(Timestamp theTimestamp)
    Write a java.sql.Timestamp value into the output stream.
  • Uses of Timestamp in javax.sql

    Methods in javax.sql with parameters of type Timestamp
    Modifier and Type Method Description
    void RowSet.setTimestamp​(int parameterIndex, Timestamp theTimestamp)
    Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using the system default Calendar.
    void RowSet.setTimestamp​(int parameterIndex, Timestamp theTimestamp, Calendar theCalendar)
    Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using a supplied Calendar.
    void RowSet.setTimestamp​(String parameterName, Timestamp theTimestamp)
    Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp converting to an SQL TIMESTAMP value using the system default Calendar.
    void RowSet.setTimestamp​(String parameterName, Timestamp theTimestamp, Calendar theCalendar)
    Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp converting to an SQL TIMESTAMP value using a supplied Calendar.
  • Uses of Timestamp in SQLite.JDBC2z

    Methods in SQLite.JDBC2z that return Timestamp
    Modifier and Type Method Description
    Timestamp JDBCPreparedStatement.getTimestamp​(int parameterIndex, Calendar cal)  
    Timestamp JDBCPreparedStatement.getTimestamp​(String parameterName)  
    Timestamp JDBCPreparedStatement.getTimestamp​(String parameterName, Calendar cal)  
    Timestamp JDBCResultSet.getTimestamp​(int columnIndex)  
    Timestamp JDBCResultSet.getTimestamp​(int columnIndex, Calendar cal)  
    Timestamp JDBCResultSet.getTimestamp​(String columnName)  
    Timestamp JDBCResultSet.getTimestamp​(String columnName, Calendar cal)  
    Methods in SQLite.JDBC2z with parameters of type Timestamp
    Modifier and Type Method Description
    void JDBCPreparedStatement.setTimestamp​(int parameterIndex, Timestamp x)  
    void JDBCPreparedStatement.setTimestamp​(int parameterIndex, Timestamp x, Calendar cal)  
    void JDBCPreparedStatement.setTimestamp​(String parameterName, Timestamp val)  
    void JDBCPreparedStatement.setTimestamp​(String parameterName, Timestamp val, Calendar cal)  
    void JDBCResultSet.updateTimestamp​(int colIndex, Timestamp t)  
    void JDBCResultSet.updateTimestamp​(String colName, Timestamp t)