Uses of Class
java.sql.Time

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

    Methods in java.sql that return Time
    Modifier and Type Method Description
    Time CallableStatement.getTime​(int parameterIndex)
    Gets the value of a specified JDBC TIME parameter as a java.sql.Time.
    Time CallableStatement.getTime​(int parameterIndex, Calendar cal)
    Gets the value of a specified JDBC TIME parameter as a java.sql.Time, using the supplied Calendar to construct the time.
    Time CallableStatement.getTime​(String parameterName)
    Gets the value of a specified JDBC TIME parameter as a java.sql.Time.
    Time CallableStatement.getTime​(String parameterName, Calendar cal)
    Gets the value of a specified JDBC TIME parameter as a java.sql.Time, using the supplied Calendar to construct the time.
    Time ResultSet.getTime​(int columnIndex)
    Gets the value of a column specified by column index as a java.sql.Time value.
    Time ResultSet.getTime​(int columnIndex, Calendar cal)
    Gets the value of a column specified by column index as a java.sql.Time value.
    Time ResultSet.getTime​(String columnName)
    Gets the value of a column specified by column name, as a java.sql.Time value.
    Time ResultSet.getTime​(String columnName, Calendar cal)
    Gets the value of a column specified by column index, as a java.sql.Time value.
    Time SQLInput.readTime()
    Returns the next attribute in the stream in the form of a java.sql.Time.
    static Time Time.valueOf​(String timeString)
    Creates a Time object from a string holding a time represented in JDBC escape format: hh:mm:ss.
    Methods in java.sql with parameters of type Time
    Modifier and Type Method Description
    void CallableStatement.setTime​(String parameterName, Time theTime)
    Sets the value of the parameter named parameterName to the value of the supplied java.sql.Time.
    void CallableStatement.setTime​(String parameterName, Time theTime, Calendar cal)
    Sets the value of the parameter named parameterName to the value of the supplied java.sql.Time using the supplied calendar.
    void PreparedStatement.setTime​(int parameterIndex, Time theTime)
    Sets the value of a specified parameter to a supplied java.sql.Time value.
    void PreparedStatement.setTime​(int parameterIndex, Time theTime, Calendar cal)
    Sets the value of a specified parameter to a supplied java.sql.Time value, using a supplied Calendar.
    void ResultSet.updateTime​(int columnIndex, Time x)
    Updates a column specified by a column index with a Time value.
    void ResultSet.updateTime​(String columnName, Time x)
    Updates a column specified by a column name with a Time value.
    void SQLOutput.writeTime​(Time theTime)
    Write a java.sql.Time value into the output stream.
  • Uses of Time in javax.sql

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

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