public class OTSSimTimeDouble extends nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> implements Serializable
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
OTSSimTimeDouble(org.djunits.value.vdouble.scalar.Time time) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.djunits.value.vdouble.scalar.Duration simTime) |
int |
compareTo(OTSSimTimeDouble simTime) |
OTSSimTimeDouble |
copy() |
org.djunits.value.vdouble.scalar.Time |
get() |
org.djunits.value.vdouble.scalar.Time |
getTime() |
org.djunits.value.vdouble.scalar.Duration |
minus(OTSSimTimeDouble absoluteTime) |
void |
set(org.djunits.value.vdouble.scalar.Time value) |
OTSSimTimeDouble |
setZero() |
void |
subtract(org.djunits.value.vdouble.scalar.Duration simTime) |
String |
toString() |
public OTSSimTimeDouble(org.djunits.value.vdouble.scalar.Time time)
time
- DoubleSclaar.Abs<TimeUnit>public final void add(org.djunits.value.vdouble.scalar.Duration simTime)
add
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final void subtract(org.djunits.value.vdouble.scalar.Duration simTime)
subtract
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final int compareTo(OTSSimTimeDouble simTime)
compareTo
in interface Comparable<OTSSimTimeDouble>
compareTo
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final OTSSimTimeDouble setZero()
setZero
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final OTSSimTimeDouble copy()
copy
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final void set(org.djunits.value.vdouble.scalar.Time value)
set
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final org.djunits.value.vdouble.scalar.Time get()
get
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final org.djunits.value.vdouble.scalar.Time getTime()
public final org.djunits.value.vdouble.scalar.Duration minus(OTSSimTimeDouble absoluteTime)
minus
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
public final String toString()
toString
in class nl.tudelft.simulation.dsol.simtime.SimTime<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
Copyright © 2014–2017 Delft University of Technology. All rights reserved.