View Source F1Bot.F1Session.Clock (f1_bot v0.7.0)

Link to this section Summary

Link to this section Types

@type t() :: %F1Bot.F1Session.Clock{
  is_running: boolean() | nil,
  session_clock: Timex.Duration.t() | nil,
  utc_local_time_sync: DateTime.t() | nil,
  utc_server_time_sync: DateTime.t() | nil
}

Link to this section Functions

Link to this function

new(server_time, local_time, session_clock, is_running)

View Source
Link to this function

session_clock_from_local_time(clock, local_time)

View Source
Link to this function

session_clock_from_server_time(clock, server_time)

View Source
Link to this function

to_event(clock, local_time)

View Source