test_class.file: dbfit-java/teradata/src/test/java/dbfit/environment/TeradataDatePeriodTest.java
test_class.identifier: TeradataDatePeriodTest
test_case.body: @Test
      public void toStringTest() {
  
          String fromStr = "2012-11-11";
          String toStr = "2014-06-02";
  
          DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
          Date fromDate = null;
          Date toDate = null;
  
          try {
              fromDate = dateFormat.parse(fromStr);
              toDate = dateFormat.parse(toStr);
          }
          catch (ParseException e) {
              throw new Error("TeradataDatePeriodTest: toStringTest: error parsing test input");
          }
  
          Date[] range = {fromDate, toDate};
          TeradataDatePeriod tdp = new TeradataDatePeriod(range);
          assertEquals("Date periods are not equal", fromDate.toString() + "," + toDate.toString(), tdp.toString());
      }
test_case.class_method_signature: TeradataDatePeriodTest.toStringTest()
test_case.full_signature: @Test public void toStringTest()
test_case.identifier: toStringTest
test_case.invocations: parse parse assertEquals toString toString toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toStringTest()
focal_class.file: dbfit-java/teradata/src/main/java/dbfit/environment/TeradataDatePeriod.java
focal_class.identifier: TeradataDatePeriod
focal_class.class_method_signature: TeradataDatePeriod.TeradataDatePeriod(Object[] dates)
focal_class.full_signature: public  TeradataDatePeriod(Object[] dates)
focal_class.identifier: TeradataDatePeriod
focal_class.modifiers: public
focal_class.parameters: (Object[] dates)
focal_class.signature:  TeradataDatePeriod(Object[] dates)
focal_class.class_method_signature: TeradataDatePeriod.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: TeradataDatePeriod.equals(Object other)
focal_class.full_signature: @Override public boolean equals(Object other)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object other)
focal_class.return: boolean
focal_class.signature: boolean equals(Object other)
focal_class.superclass: extends DbStruct
focal_method.body: @Override
      public String toString() {
          String r = "";
          try {
              Object[] a = super.getAttributes();
  
              for (int i = 0; i < a.length; i++) {
                  if (i > 0)
                      r = r + ",";
                  r = r + a[i].toString();
              }
          } catch (SQLException e) {
              System.out.println("TeradataDatePeriod: toString: caught exception");
          }
  
          return r;
      }
focal_method.class_method_signature: TeradataDatePeriod.toString()
focal_method.full_signature: @Override public String toString()
focal_method.identifier: toString
focal_method.invocations: getAttributes toString println
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()