Time¶
- class py123d.datatypes.Timestamp[source]¶
Timestamp class representing a time point in microseconds.
Public Data Attributes:
time_nsThe timestamp in nanoseconds [ns].
time_usThe timestamp in microseconds [μs].
time_msThe timestamp in milliseconds [ms].
time_sThe timestamp in seconds [s].
Public Methods:
from_ns(t_ns)Constructs a Timestamp from a value in nanoseconds.
from_us(t_us)Constructs a Timestamp from a value in microseconds.
from_ms(t_ms)from_s(t_s)Constructs a Timestamp from a value in seconds.