Uses of Class
java.sql.Time
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides the API for server side data source access and processing from
the Java programming language.
Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
-
Uses of Time in java.sql
Modifier and TypeMethodDescriptionCallableStatement.getTime
(int parameterIndex) Retrieves the value of the designated JDBCTIME
parameter as ajava.sql.Time
object.Retrieves the value of the designated JDBCTIME
parameter as ajava.sql.Time
object, using the givenCalendar
object to construct the time.Retrieves the value of a JDBCTIME
parameter as ajava.sql.Time
object.Retrieves the value of a JDBCTIME
parameter as ajava.sql.Time
object, using the givenCalendar
object to construct the time.ResultSet.getTime
(int columnIndex) Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Time
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Time
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Time
object in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as ajava.sql.Time
object in the Java programming language.SQLInput.readTime()
Reads the next attribute in the stream and returns it as ajava.sql.Time
object.static Time
Converts a string in JDBC time escape format to aTime
value.static Time
Obtains an instance ofTime
from aLocalTime
object with the same hour, minute and second time value as the givenLocalTime
.Modifier and TypeMethodDescriptionvoid
Sets the designated parameter to the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
value, using the givenCalendar
object.void
Sets the designated parameter to the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
value, using the givenCalendar
object.void
ResultSet.updateTime
(int columnIndex, Time x) Updates the designated column with ajava.sql.Time
value.void
ResultSet.updateTime
(String columnLabel, Time x) Updates the designated column with ajava.sql.Time
value.void
Writes the next attribute to the stream as a java.sql.Time object. -
Uses of Time in javax.sql
Modifier and TypeMethodDescriptionvoid
Sets the designated parameter in thisRowSet
object's command to the givenjava.sql.Time
value.void
Sets the designated parameter in thisRowSet
object's command with the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
value, using the givenCalendar
object. -
Uses of Time in javax.sql.rowset
Modifier and TypeMethodDescriptionvoid
Sets the designated parameter to the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
object.void
Sets the designated parameter to the givenjava.sql.Time
value.void
Sets the designated parameter to the givenjava.sql.Time
value, using the givenCalendar
object. -
Uses of Time in javax.sql.rowset.serial
Modifier and TypeMethodDescriptionSQLInputImpl.readTime()
Retrieves the next attribute in thisSQLInputImpl
object as ajava.sql.Time
object.