|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--util.RegularTimeStamp
This intended to be a non-realtime implementation of TimeStamp.
| Field Summary | |
protected long |
millis
|
protected int |
nanos
|
private static long |
serialVersionUID
|
| Constructor Summary | |
RegularTimeStamp(long millis,
int nanos)
|
|
| Method Summary | |
static util.TimeStamp |
currentTime()
Generates a TimeStamp at the current time. |
boolean |
equals(Object o)
Returns whether the two stamps are at the same point in time. |
long |
getMilliseconds()
Return the milliseconds component of this time. |
int |
getNanoseconds()
Return the nanosecond component of this time. |
long |
getTimeSince(util.TimeStamp time)
Return the value in milliseconds between the two objects. |
int |
hashCode()
|
boolean |
isBefore(util.TimeStamp time)
If this TimeStamp was created before the TimeStamp passed in. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
protected final long millis
protected final int nanos
| Constructor Detail |
public RegularTimeStamp(long millis,
int nanos)
| Method Detail |
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
TimeStamp
equals in interface TimeStampequals in class Objectpublic long getMilliseconds()
TimeStamp
getMilliseconds in interface TimeStamppublic int getNanoseconds()
TimeStamp
getNanoseconds in interface TimeStamppublic long getTimeSince(util.TimeStamp time)
TimeStamp
getTimeSince in interface TimeStamppublic boolean isBefore(util.TimeStamp time)
TimeStamp
isBefore in interface TimeStamppublic static util.TimeStamp currentTime()
public String toString()
toString in class Object
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||