Modifier and type | Property and description |
---|---|
long | oSCurrentTime Replies the OS current time. |
double | oSTimeFactor Replies the scaling factor between the agent time and the operating system time. |
java.util.concurrent.TimeUnit | timePrecision Replies the precision of the time that is assumed by this manager. |
Modifier and type | Action and description |
---|---|
abstract void | addTimeListener(TimeListener) Add listener on time changes. |
abstract boolean | evolveTimeIfPossible([double]) Do a time evolution if the underlying service allows this action. |
abstract double | fromOSDuration(double) Convert the given duration from the operating system time scale to the agent system time scale. |
abstract double | fromOSTime(double) Convert the given time from the operating system time scale to the agent system time scale. |
abstract long | getOSCurrentTime Replies the OS current time. |
abstract double | getOSTimeFactor Replies the scaling factor between the agent time and the operating system time. |
abstract double | getTime(TimeUnit) Replies the current time. |
abstract java.util.concurrent.TimeUnit | getTimePrecision Replies the precision of the time that is assumed by this manager. |
abstract void | removeTimeListener(TimeListener) Remove listener on time changes. |
abstract boolean | setTimeIfPossible(double) Change the time. |
abstract double | toOSDuration(double) Convert the given duration from the agent system time scale to the operating system time scale. |
abstract double | toOSTime(double) Convert the given time from the agent system time scale to the operating system time scale. |
val oSCurrentTime : long
This property is an alias for the action: getOSCurrentTime
val oSTimeFactor : double
This property is an alias for the action: getOSTimeFactor
val timePrecision : java.util.concurrent.TimeUnit
This property is an alias for the action: getTimePrecision
def addTimeListener(TimeListener)
def evolveTimeIfPossible([double]) : boolean
def fromOSDuration(double) : double
def fromOSTime(double) : double
def getOSCurrentTime : long
def getOSTimeFactor : double
def getTime(TimeUnit) : double
def getTimePrecision : java.util.concurrent.TimeUnit
def removeTimeListener(TimeListener)
def setTimeIfPossible(double) : boolean
def toOSDuration(double) : double
def toOSTime(double) : double