/[classpath]/classpath/java/sql/Date.java
ViewVC logotype

Diff of /classpath/java/sql/Date.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by bryce, Fri Jun 21 05:34:12 2002 UTC revision 1.7 by mkoch, Sun Apr 6 09:17:55 2003 UTC
# Line 86  public class Date extends java.util.Date Line 86  public class Date extends java.util.Date
86     * date in JDBC format into a Java date.     * date in JDBC format into a Java date.
87     *     *
88     * @param str The string to parse.     * @param str The string to parse.
89     * @return The resulting <code>java.sql.Date</code> value.     * @return The resulting <code>java.sql.Date</code> value.
90       *
91       * @deprecated
92     */     */
93    public static Date valueOf(String str)    public static Date valueOf (String str)
94    {    {
95      try      try
96        {        {
# Line 105  public class Date extends java.util.Date Line 107  public class Date extends java.util.Date
107     * This method returns this date in JDBC format.     * This method returns this date in JDBC format.
108     *     *
109     * @return This date as a string.     * @return This date as a string.
110       *
111       * @deprecated
112     */     */
113    public String toString()    public String toString()
114    {    {
115      return(sdf.format(this));      return sdf.format(this);
116    }    }
117  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26