javax.media
Interface TimeBase


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.

Version:
1.13, 97/08/25.
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

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

Returns:
the current TimeBase time.

getNanoseconds

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

Returns:
the current TimeBase time in nanoseocnds.


Copyright © 2011. All Rights Reserved.