Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.sql.Timestamp

Availability: JDK 1.1

public class Timestamp extends Date {
   // Public Constructors
      public Timestamp(int year, int month, int date, int hour, int minute, int second, int nano);
      public Timestamp(long time);
   // Class Methods
      public static Timestamp valueOf(String s);
   // Public Instance Methods
      public boolean after(Timestamp ts);
      public boolean before(Timestamp ts);
      public boolean equals(Timestamp ts);
      public int getNanos();
      public void setNanos(int n);
      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.