Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class Date extends Object implements Serializable, Cloneable { // Public Constructors public Date(); public Date(long date); # public Date(int year, int month, int date); # public Date(int year, int month, int date, int hrs, int min); # public Date(int year, int month, int date, int hrs, int min, int sec); # public Date(String s); // Class Methods # public static long UTC(int year, int month, int date, int hrs, int min, int sec); # public static long parse(String s); // Public Instance Methods public boolean after(Date when); public boolean before(Date when); public boolean equals(Object obj); // Overrides Object.equals() # public int getDate(); # public int getDay(); # public int getHours(); # public int getMinutes(); # public int getMonth(); # public int getSeconds(); public long getTime(); # public int getTimezoneOffset(); # public int getYear(); public int hashCode(); // Overrides Object.hashCode() # public void setDate(int date); # public void setHours(int hours); # public void setMinutes(int minutes); # public void setMonth(int month); # public void setSeconds(int seconds); public void setTime(long time); # public void setYear(int year); # public String toGMTString(); # public String toLocaleString(); public String toString(); // Overrides Object.toString() }