2003-03-31 Michael Koch <konqueror@gmx.de>
* java/sql/Date.java (valueOf): Deprecated, reformatted. (toString): Deprecated, reformatted. * java/sql/Time.java (valueOf): Deprecated, reformatted. (toString): Deprecated, reformatted. From-SVN: r65086
This commit is contained in:
parent
7ff7feaadf
commit
75160ca76c
@ -1,3 +1,12 @@
|
|||||||
|
2003-03-31 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
|
* java/sql/Date.java
|
||||||
|
(valueOf): Deprecated, reformatted.
|
||||||
|
(toString): Deprecated, reformatted.
|
||||||
|
* java/sql/Time.java
|
||||||
|
(valueOf): Deprecated, reformatted.
|
||||||
|
(toString): Deprecated, reformatted.
|
||||||
|
|
||||||
2003-03-31 Michael Koch <konqueror@gmx.de>
|
2003-03-31 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
* java/rmi/dgc/VMID.java
|
* java/rmi/dgc/VMID.java
|
||||||
|
@ -86,9 +86,11 @@ public class Date extends java.util.Date
|
|||||||
* date in JDBC format into a Java date.
|
* date in JDBC format into a Java date.
|
||||||
*
|
*
|
||||||
* @param str The string to parse.
|
* @param str The string to parse.
|
||||||
* @return The resulting <code>java.sql.Date</code> value.
|
* @return The resulting <code>java.sql.Date</code> value.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public static Date valueOf(String str)
|
public static Date valueOf (String str)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -105,9 +107,11 @@ public class Date extends java.util.Date
|
|||||||
* This method returns this date in JDBC format.
|
* This method returns this date in JDBC format.
|
||||||
*
|
*
|
||||||
* @return This date as a string.
|
* @return This date as a string.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
return(sdf.format(this));
|
return sdf.format(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,9 +61,11 @@ public class Time extends java.util.Date
|
|||||||
* date in JDBC format into a Java date.
|
* date in JDBC format into a Java date.
|
||||||
*
|
*
|
||||||
* @param str The string to parse.
|
* @param str The string to parse.
|
||||||
* @return The resulting <code>java.sql.Time</code> value.
|
* @return The resulting <code>java.sql.Time</code> value.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public static Time valueOf(String str)
|
public static Time valueOf (String str)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -110,11 +112,12 @@ public class Time extends java.util.Date
|
|||||||
* This method returns this date in JDBC format.
|
* This method returns this date in JDBC format.
|
||||||
*
|
*
|
||||||
* @return This date as a string.
|
* @return This date as a string.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public String
|
public String toString ()
|
||||||
toString()
|
|
||||||
{
|
{
|
||||||
return sdf.format(this);
|
return sdf.format (this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user