Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.sql.Timestamp

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

Uses of Timestamp in java.sql
 

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

Methods in java.sql with parameters of type Timestamp
 void PreparedStatement.setTimestamp(int parameterIndex, Timestamp x)
          Sets the designated parameter to a java.sql.Timestamp value.
 void PreparedStatement.setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
          JDBC 2.0 Sets the designated parameter to a java.sql.Timestamp value, using the given Calendar object.
 void ResultSet.updateTimestamp(int columnIndex, Timestamp x)
          JDBC 2.0 Updates a column with a Timestamp value.
 void ResultSet.updateTimestamp(String columnName, Timestamp x)
          JDBC 2.0 Updates a column with a Timestamp value.
 boolean Timestamp.equals(Timestamp ts)
          Tests to see if this Timestamp object is equal to the given Timestamp object.
 boolean Timestamp.before(Timestamp ts)
          Indicates whether this Timestamp object is earlier than the given Timestamp object.
 boolean Timestamp.after(Timestamp ts)
          Indicates whether this Timestamp object is later than the given Timestamp object.
 void SQLOutput.writeTimestamp(Timestamp x)
          Writes the next attribute to the stream as a java.sql.Timestamp object.
 


JavaTM 2 Platform
Standard Edition

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