code: def __findPosForDateTime(self, values, dateTime):
      ret = None
      i = len(values) - 1
      while i >= 0:
          if values[i][0] == dateTime:
              ret = i
              break
          elif values[i][0] < dateTime:
              break
          i -= 1
      return ret
  
file_path: pyalgotrade/pyalgotrade/dataseries/aligned.py
imports: from pyalgotrade import dataseries
label_desc: Use image node_id 2 for calling the Syncer obj's underlying member method code with example usage: obj.__findPosForDateTime(values, dateTime) and returns: ret