JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
java.sql.Time

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

Uses of Time in java.sql
 

Methods in java.sql that return Time
 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.
static Time Time.valueOf(String s)
          Converts a string in JDBC time escape format to a Time value.
 Time SQLInput.readTime()
          Reads the next attribute in the stream as a java.sql.Time object.
 Time ResultSet.getTime(int columnIndex)
          Gets the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language.
 Time ResultSet.getTime(String columnName)
          Gets the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language.
 Time ResultSet.getTime(int columnIndex, Calendar cal)
          Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language.
 Time ResultSet.getTime(String columnName, Calendar cal)
          Returns the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language.
 

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


JavaTM 2 Platform
Std. Ed. v1.3.1

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 Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.