All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ejmf.toolkit.util.TimeSource

public interface TimeSource
Implemented by classes that will provide a time value.

See Also:
SourcedTime

Variable Index

 o MICROS_PER_SEC
 o MILLIS_PER_SEC
 o NANOS_PER_SEC
Useful values for return by an implementation of getConversionDivisor.

Method Index

 o getConversionDivisor()
Return a number used to divide source units to convert to seconds.
 o getTime()
Return time in source units

Variables

 o NANOS_PER_SEC
 public static final long NANOS_PER_SEC
Useful values for return by an implementation of getConversionDivisor.

 o MICROS_PER_SEC
 public static final long MICROS_PER_SEC
 o MILLIS_PER_SEC
 public static final long MILLIS_PER_SEC

Methods

 o getTime
 public abstract long getTime()
Return time in source units

 o getConversionDivisor
 public abstract long getConversionDivisor()
Return a number used to divide source units to convert to seconds.


All Packages  Class Hierarchy  This Package  Previous  Next  Index