javax.media
接口 TimeBase

所有已知实现类:
MediaTimeBase, SystemTimeBase

public interface TimeBase

A TimeBase is a constantly ticking source of time, much like a crystal.

Unlike a Clock, a TimeBase cannot be temporally transformed, reset, or stopped.

另请参见:
Clock

方法摘要
 long getNanoseconds()
          Get the current time of the TimeBase specified in nanoseconds.
 Time getTime()
          Get the current time of this TimeBase.
 

方法详细信息

getTime

Time getTime()
Get the current time of this TimeBase.

返回:
the current TimeBase time.

getNanoseconds

long getNanoseconds()
Get the current time of the TimeBase specified in nanoseconds.

返回:
the current TimeBase time in nanoseocnds.