def METHOD_NAME(self, time_in_seconds: float) -> None:
    hh = int(math.floor(time_in_seconds / 3600))
    time_in_seconds = time_in_seconds - hh * 3600
    mm = int(math.floor(time_in_seconds / 60))
    time_in_seconds = time_in_seconds - mm * 60
    ss = int(math.floor(time_in_seconds))
    time_in_seconds = time_in_seconds - ss
    ms = int(time_in_seconds * 1000)
    self.replay_time.setText(f"{hh:02d}:{mm:02d}:{ss:02d}.{ms:03d}")