jp.go.aist.rtm.RTC.util.clock
Class SystemClock

java.lang.Object
  extended by jp.go.aist.rtm.RTC.util.clock.SystemClock
All Implemented Interfaces:
IClock
Direct Known Subclasses:
AdjustedClock

public class SystemClock
extends java.lang.Object
implements IClock

clock object to handle system clock

This class sets and gets system clock.


Field Summary
protected  long nanoBase
           
protected  int TIME_CONV_UNIT
           
 
Constructor Summary
SystemClock()
           
 
Method Summary
 TimeValue getTime()
           Getting time
 boolean setTime(TimeValue clocktime)
           Setting time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIME_CONV_UNIT

protected int TIME_CONV_UNIT

nanoBase

protected long nanoBase
Constructor Detail

SystemClock

public SystemClock()
Method Detail

getTime

public TimeValue getTime()
Description copied from interface: IClock
Getting time

Specified by:
getTime in interface IClock
Returns:
Current time

setTime

public boolean setTime(TimeValue clocktime)
Description copied from interface: IClock
Setting time

Specified by:
setTime in interface IClock
Parameters:
clocktime - clocktime Current time