docstr: Test 30/360 ISDA on start dates in leap year.
  
  The test cases and results are from
  https://www.isda.org/2008/12/22/30-360-day-count-conventions
docstr_tok: ["Test","30\/360","ISDA","on","start","dates","in","leap","year",".","The","test","cases","and","results","are","from","https",":","\/\/www.isda.org\/2008\/12\/22\/30-360-day-count-conventions"]
code: def test_thirty_360_isda_with_leap_year_on_start(self):
      """Test 30/360 ISDA on start dates in leap year.
  
      The test cases and results are from
      https://www.isda.org/2008/12/22/30-360-day-count-conventions
      """
      start_date = dateslib.dates_from_tuples(
          [
              (2008, 2, 29),
              (2008, 2, 29),
              (2008, 2, 29),
          ]
      )
      end_date = dateslib.dates_from_tuples(
          [
              (2009, 2, 28),
              (2008, 3, 30),
              (2008, 3, 31),
          ]
      )
      yf = self.evaluate(
          dateslib.daycount_thirty_360_isda(
              start_date=start_date, end_date=end_date
          )
      )
      self.assertAllClose(
          yf, [0.997222222, 0.086111111, 0.088888889], atol=1e-5
      )
  
file_path: tf-quant-finance/tf_quant_finance/datetime/daycounts_test.py
imports: import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 8 for calling the DayCountsTest obj's underlying member method code with example usage: obj.test_thirty_360_isda_with_leap_year_on_start() without return types