code: def test_convert_to_date_tensor_datetimes(self):
      date = datetime.date(2020, 6, 15)
      date_tensor = dateslib.convert_to_date_tensor(date)
      (y, m, d) = (2020, 6, 15)
      self.assert_date_tensor_components(date_tensor, y, m, d, None)
  
imports: import datetime
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_convert_to_date_tensor_datetimes() without return types