verinec.netsim.util
Class SimTime
java.lang.Object
verinec.netsim.util.SimTime
public class SimTime
- extends Object
Defines the interface for simulators.
- Version:
- $Revision: 60 $
- Author:
- Dominik Jungo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimTime
public SimTime()
currentTimeInt
public static int currentTimeInt(SimTime time)
- converts a SimTime value into a int value
- Parameters:
time - a SimTime value
- Returns:
- the time rounded to an integer value (using Math.round).
currentTimeIntString
public static String currentTimeIntString(SimTime time)
- converts a SimTime value into a int value and converts this one into a
String
- Parameters:
time - a SimTime value
- Returns:
- the time rounded to an integer value (using Math.round).