code: def test_ordinal_to_year_month_day(self):
      date_tuples = test_data.test_dates
      ordinals = np.array(
          [
              datetime.date(y, m, d).toordinal()
              for y, m, d in date_tuples
          ],
          dtype=np.int32,
      )
      y, m, d = date_utils.ordinal_to_year_month_day(ordinals)
      result = tf.stack((y, m, d), axis=1)
      self.assertAllEqual(date_tuples, result)
  
file_path: tf-quant-finance/tf_quant_finance/datetime/date_utils_test.py
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 1 for calling the DateUtilsTest obj's underlying member method code with example usage: obj.test_ordinal_to_year_month_day() without return types