Name: mf23781 Date: 03/02/98
JDK 1.1.4 documentaton for java.sql.Time.toString() says
"Format a time in JDBC date escape format"
it should say
"Format a time in JDBC time escape format"
JDK 1.1.4 documentaton for java.sql.Date
lists the following methods:
getHours()
getMinutes()
getSeconds()
setHours(int)
setMinutes(int)
setSeconds(int)
And JDK 1.1.4 documentaton for java.sql.Time
lists the following methods:
getDate()
getDay()
getMonth()
getYear()
setDate()
setMonth()
setYear()
All these methods throw an java.lang.IllegalArgumentException.
I would suggest they are removed from the documentation
and a more meaningful exception generated if possible.
When using java.sql.Date, if you want to get or set the
date, month or year the relevant method from java.util.Date
will be inherited.
When using java.sql.Time, if you want to get or set the
hours, minutes or seconds the relevant method from java.util.Date
will be inherited.
In both these cases the inherited methods are depricated.
======================================================================