Simulation Time module¶
This module contains the definition of the time units and its conversions.
Warning
This module is deprecated and will not be included into the next versions.
-
class
gsf.core.time.simulation_time.
SimulationTime
(time: int, unit: gsf.core.time.simulation_time.TimeUnit)¶ Bases:
object
-
get_in_unit
(new_unit: gsf.core.time.simulation_time.TimeUnit) → float¶
-
property
millis
¶
-
property
time
¶
-
static
to_millis
(time: int, unit: gsf.core.time.simulation_time.TimeUnit) → int¶
-
to_unit
(new_unit: gsf.core.time.simulation_time.TimeUnit) → gsf.core.time.simulation_time.SimulationTime¶
-