javax.media
Interface TimeBase
- All Known Implementing Classes:
- 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.
- 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 . |
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.
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.