Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.sql.Time

Availability: JDK 1.1

public class Time extends Date {
   // Public Constructors
      public Time(int hour, int minute, int second);
      public Time(long time);
   // Class Methods
      public static Time valueOf(String s);
   // Public Instance Methods
      public int getDate();  // Overrides Date.getDate()
      public int getDay();  // Overrides Date.getDay()
      public int getMonth();  // Overrides Date.getMonth()
      public int getYear();  // Overrides Date.getYear()
      public void setDate(int i);  // Overrides Date.setDate()
      public void setMonth(int i);  // Overrides Date.setMonth()
      public void setTime(long time);  // Overrides Date.setTime()
      public void setYear(int i);  // Overrides Date.setYear()
      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.