Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

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.

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.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.