public class MicroSecondDate
extends java.util.Date
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected LeapSecondHistory |
leapHistory |
protected int |
leapSecondVersion |
protected long |
microseconds |
Constructor and Description |
---|
MicroSecondDate() |
MicroSecondDate(java.util.Date d) |
MicroSecondDate(long microseconds) |
MicroSecondDate(long microseconds,
int leapSeconds) |
MicroSecondDate(MicroSecondDate d) |
MicroSecondDate(java.lang.String isoTimeString) |
MicroSecondDate(edu.iris.Fissures.Time t) |
MicroSecondDate(java.sql.Timestamp ts) |
MicroSecondDate(java.sql.Timestamp ts,
int leapSeconds) |
Modifier and Type | Method and Description |
---|---|
MicroSecondDate |
add(TimeInterval interval) |
boolean |
after(java.util.Date otherDate) |
boolean |
before(java.util.Date otherDate) |
TimeInterval |
difference(MicroSecondDate otherDate)
Returns the TimeInterval between the two times.
|
boolean |
equals(java.lang.Object otherDate) |
edu.iris.Fissures.Time |
getFissuresTime() |
int |
getLeapSecondVersion() |
long |
getMicroSeconds()
Returns the microseconds as a number between 0 and 999, the milliseconds
are kept in the Date superclass.
|
long |
getMicroSecondTime() |
java.sql.Timestamp |
getTimestamp() |
int |
hashCode() |
TimeInterval |
subtract(MicroSecondDate otherDate)
Returns the timewidth of this - otherDate.
|
MicroSecondDate |
subtract(TimeInterval interval) |
java.lang.String |
toString() |
protected long microseconds
protected int leapSecondVersion
protected LeapSecondHistory leapHistory
public MicroSecondDate()
public MicroSecondDate(long microseconds)
public MicroSecondDate(long microseconds, int leapSeconds)
public MicroSecondDate(java.util.Date d)
public MicroSecondDate(MicroSecondDate d)
public MicroSecondDate(java.sql.Timestamp ts, int leapSeconds)
public MicroSecondDate(java.sql.Timestamp ts)
public MicroSecondDate(edu.iris.Fissures.Time t)
public MicroSecondDate(java.lang.String isoTimeString)
public long getMicroSecondTime()
public long getMicroSeconds()
public java.sql.Timestamp getTimestamp()
public edu.iris.Fissures.Time getFissuresTime()
public int getLeapSecondVersion()
public MicroSecondDate add(TimeInterval interval)
public MicroSecondDate subtract(TimeInterval interval)
public TimeInterval subtract(MicroSecondDate otherDate)
public TimeInterval difference(MicroSecondDate otherDate)
public boolean equals(java.lang.Object otherDate)
equals
in class java.util.Date
public int hashCode()
hashCode
in class java.util.Date
public boolean after(java.util.Date otherDate)
after
in class java.util.Date
public boolean before(java.util.Date otherDate)
before
in class java.util.Date
public java.lang.String toString()
toString
in class java.util.Date