neosim.iface
Class Time

java.lang.Object
  |
  +--neosim.iface.Time

public class Time
extends java.lang.Object
implements java.io.Serializable

Time is stored as an integer number of nanoseconds

See Also:
Serialized Form

Field Summary
 long t
           
static Time ZERO
           
 
Constructor Summary
Time()
          Initialised to number of seconds
Time(double t)
           
 
Method Summary
 void add(Time a)
           
 double ms()
           
 long ns()
           
 double s()
           
 void set(double nt)
           
 void set(Time nt)
           
 double us()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t

public long t

ZERO

public static Time ZERO
Constructor Detail

Time

public Time()
Initialised to number of seconds

Time

public Time(double t)
Method Detail

add

public void add(Time a)

set

public void set(double nt)

set

public void set(Time nt)

s

public double s()

ms

public double ms()

us

public double us()

ns

public long ns()