test_class.file: dbfit-java/teradata/src/test/java/dbfit/environment/TeradataDatePeriodTest.java
test_class.identifier: TeradataDatePeriodTest
test_case.body: @Test
      public void notEqualsTest() {
  
          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);
          Date[] range2 = {fromDate, fromDate};
          TeradataDatePeriod tdp2 = new TeradataDatePeriod(range2);
          assertFalse("Date periods are equal", tdp.equals(tdp2));
      }
test_case.class_method_signature: TeradataDatePeriodTest.notEqualsTest()
test_case.full_signature: @Test public void notEqualsTest()
test_case.identifier: notEqualsTest
test_case.invocations: parse parse assertFalse equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void notEqualsTest()
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 boolean equals(Object other) {
  
          if (other == null)
              return false;
  
          if (!(other instanceof TeradataDatePeriod))
              return false;
  
          TeradataDatePeriod odp = (TeradataDatePeriod)other;
  
          Object[] thisAtts = null;
          Object[] otherAtts = null;
  
          try {
              otherAtts = odp.getAttributes();
              thisAtts = this.getAttributes();
          } catch (SQLException e) {
              System.out.println("TeradataDatePeriod: equal: caught exception");
          }
  
          if (!(thisAtts[0].equals(otherAtts[0])))
              return false;
  
          if (!(thisAtts[1].equals(otherAtts[1])))
              return false;
  
          return true;
      }
focal_method.class_method_signature: TeradataDatePeriod.equals(Object other)
focal_method.full_signature: @Override public boolean equals(Object other)
focal_method.identifier: equals
focal_method.invocations: getAttributes getAttributes println equals equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object other)
focal_method.return: boolean
focal_method.signature: boolean equals(Object other)