|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.realtime.Clock | +--javax.realtime.RealtimeClock
RealtimeClock
implements a real-time clock.
Field Summary | |
private javax.realtime.RelativeTime |
resolution
|
Fields inherited from class javax.realtime.Clock |
|
Constructor Summary | |
RealtimeClock()
Create an instance of RealtimeClock . |
|
RealtimeClock(long millis,
int nanos)
Create an instance of RealtimeClock using given parameters. |
Method Summary | |
javax.realtime.RelativeTime |
getResolution()
Return the resolution of this RealtimeClock instance. |
void |
getTime(javax.realtime.AbsoluteTime time)
Returns the time in an AbstractTime . |
protected static long |
getTimeInC()
|
void |
setResolution(javax.realtime.RelativeTime res)
Sets the resolution of this RealtimeClock instance. |
Methods inherited from class javax.realtime.Clock |
getRealtimeClock, getTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private javax.realtime.RelativeTime resolution
Constructor Detail |
public RealtimeClock()
RealtimeClock
.
public RealtimeClock(long millis, int nanos)
RealtimeClock
using given parameters.
Method Detail |
public javax.realtime.RelativeTime getResolution()
RealtimeClock
instance.
getResolution
in class Clock
RelativeTime
representing the
resolution of this
.public void setResolution(javax.realtime.RelativeTime res)
RealtimeClock
instance.
setResolution
in class Clock
protected static long getTimeInC()
public void getTime(javax.realtime.AbsoluteTime time)
AbstractTime
.
getTime
in class Clock
time
- The instance of AbsoluteTime
object which
will have its time changed. If null, then nothing happens.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |