Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.sql.Date

Availability: JDK 1.1

public class Date extends Date {
   // Public Constructors
      public Date(int year, int month, int day);
      public Date(long date);
   // Class Methods
      public static Date valueOf(String s);
   // Public Instance Methods
      public int getHours();  // Overrides Date.getHours()
      public int getMinutes();  // Overrides Date.getMinutes()
      public int getSeconds();  // Overrides Date.getSeconds()
      public void setHours(int i);  // Overrides Date.setHours()
      public void setMinutes(int i);  // Overrides Date.setMinutes()
      public void setSeconds(int i);  // Overrides Date.setSeconds()
      public void setTime(long date);  // Overrides Date.setTime()
      public String toString();  // Overrides Date.toString()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.