docs: def _read_time_from_string(str1):
      """
      Reads the time from a string in the format HH:MM:SS.S and returns
      :class: datetime.time
      """
      full_time = [float(x) for x in str1.split(':')]
      hour = int(full_time[0])
      minute = int(full_time[1])
      if full_time[2] > 59.99:
          minute += 1
          second = 0
      else:
          second = int(full_time[2])
      microseconds = int((full_time[2] - floor(full_time[2])) * 1000000)
      return datetime.time(hour, minute, second, microseconds)