站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.sql.Time - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.sql.Time

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

Uses of Time in java.sql
 

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

Methods in java.sql with parameters of type Time
 void PreparedStatement.setTime(int parameterIndex, Time x)
          Sets the designated parameter to a java.sql.Time value.
 void PreparedStatement.setTime(int parameterIndex, Time x, Calendar cal)
          JDBC 2.0 Sets the designated parameter to a java.sql.Time value, using the given Calendar object.
 void ResultSet.updateTime(int columnIndex, Time x)
          JDBC 2.0 Updates a column with a Time value.
 void ResultSet.updateTime(String columnName, Time x)
          JDBC 2.0 Updates a column with a Time value.
 void SQLOutput.writeTime(Time x)
          Writes the next attribute to the stream as a java.sql.Time 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.