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

Diff of /classpath/java/sql/Time.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 61  public class Time extends java.util.Date Line 61  public class Time extends java.util.Date
61     * date in JDBC format into a Java date.     * date in JDBC format into a Java date.
62     *     *
63     * @param str The string to parse.     * @param str The string to parse.
64     * @return The resulting <code>java.sql.Time</code> value.     * @return The resulting <code>java.sql.Time</code> value.
65       *
66       * @deprecated
67     */     */
68    public static Time valueOf(String str)    public static Time valueOf (String str)
69    {    {
70      try      try
71        {        {
# Line 110  public class Time extends java.util.Date Line 112  public class Time extends java.util.Date
112     * This method returns this date in JDBC format.     * This method returns this date in JDBC format.
113     *     *
114     * @return This date as a string.     * @return This date as a string.
115       *
116       * @deprecated
117     */     */
118    public String    public String toString ()
   toString()  
119    {    {
120      return sdf.format(this);      return sdf.format (this);
121    }    }
122    
123  }  }

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