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
-
MICROS_PER_SEC
-
-
MILLIS_PER_SEC
-
-
NANOS_PER_SEC
-
Useful values for return by an implementation of
getConversionDivisor.
-
getConversionDivisor()
-
Return a number used to divide source units to convert to
seconds.
-
getTime()
-
Return time in source units
NANOS_PER_SEC
public static final long NANOS_PER_SEC
- Useful values for return by an implementation of
getConversionDivisor.
MICROS_PER_SEC
public static final long MICROS_PER_SEC
MILLIS_PER_SEC
public static final long MILLIS_PER_SEC
getTime
public abstract long getTime()
- Return time in source units
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