# UniTAP.common.timestamp

class Timestamp:

Class contains information about timestamp in several representation variant:

- Seconds `to_sec`.
- Milliseconds `to_m_sec`.
- Microseconds `to_u_sec`.
- Nanoseconds `to_n_sec` or `value`.

Timestamp(nano_secs: int)
to_sec: float

Returns time in seconds.

to_m_sec: float

Returns time milliseconds seconds.

to_u_sec: float

Returns time microseconds seconds.

to_n_sec: float

Returns time nanoseconds seconds.

value: float

Returns time nanoseconds seconds.