JML

java.sql
Class Timestamp

java.lang.Object
  extended byjava.util.Date
      extended byjava.sql.Timestamp
All Implemented Interfaces:
Cloneable, Comparable, Serializable

public class Timestamp
extends Date


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private  int nanos
           
(package private) static long serialVersionUID
           
 
Fields inherited from class java.util.Date
cal, fastTime
 
Constructor Summary
Timestamp(int, int, int, int, int, int, int)
           
Timestamp(long)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Model methods inherited from interface java.lang.Comparable
definedComparison, sgn
 
Method Summary
 boolean after(Timestamp)
           
 boolean before(Timestamp)
           
 int compareTo(Object)
           
 int compareTo(Timestamp)
           
 boolean equals(Object)
           
 boolean equals(Timestamp)
           
 int getNanos()
           
 long getTime()
           
 void setNanos(int)
           
 void setTime(long)
           
 String toString()
           
static Timestamp valueOf(String)
           
 
Methods inherited from class java.util.Date
after, before, clone, compareTo, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, toLocaleString, UTC
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nanos

private int nanos

serialVersionUID

static final long serialVersionUID
Constructor Detail

Timestamp

public Timestamp(int,
                 int,
                 int,
                 int,
                 int,
                 int,
                 int)

Timestamp

public Timestamp(long)
Method Detail

getNanos

public int getNanos()

getTime

public long getTime()
Overrides:
getTime in class Date

setNanos

public void setNanos(int)

setTime

public void setTime(long)
Overrides:
setTime in class Date

compareTo

public int compareTo(Object)
Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class Date

equals

public boolean equals(Object)
Overrides:
equals in class Date

toString

public String toString()
Overrides:
toString in class Date

compareTo

public int compareTo(Timestamp)

after

public boolean after(Timestamp)

before

public boolean before(Timestamp)

equals

public boolean equals(Timestamp)

valueOf

public static Timestamp valueOf(String)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.