javax.media
Interface TimeBase

All Known Implementing Classes:
SystemTimeBase

public abstract 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.

See Also:
Clock

Method Summary
 long getNanoseconds()
          Get the current time of the TimeBase specified in nanoseconds.
 Time getTime()
          Get the current time of this TimeBase.
 

Method Detail

getTime

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

getNanoseconds

public long getNanoseconds()
Get the current time of the TimeBase specified in nanoseconds.
Returns:
the current TimeBase time in nanoseocnds.