test_class.file: dbfit-java/teradata/src/test/java/dbfit/environment/TeradataTimePeriodTest.java
test_class.identifier: TeradataTimePeriodTest
test_case.body: @Test
      public void equalsTest() {
  
          String fromStr = "01:23:45";
          String toStr = "12:13:14";
  
          Time fromTime = null;
          Time toTime = null;
  
          fromTime = Time.valueOf(fromStr);
          toTime = Time.valueOf(toStr);
  
          Time[] range = {fromTime, toTime};
          TeradataTimePeriod tdp = new TeradataTimePeriod(range);
          TeradataTimePeriod tdp2 = new TeradataTimePeriod(range);
          assertTrue("Time periods are not equal", tdp.equals(tdp2));
      }
test_case.class_method_signature: TeradataTimePeriodTest.equalsTest()
test_case.full_signature: @Test public void equalsTest()
test_case.identifier: equalsTest
test_case.invocations: valueOf valueOf assertTrue equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void equalsTest()
focal_class.file: dbfit-java/teradata/src/main/java/dbfit/environment/TeradataTimePeriod.java
focal_class.identifier: TeradataTimePeriod
focal_class.class_method_signature: TeradataTimePeriod.TeradataTimePeriod(Object[] dates)
focal_class.full_signature: public  TeradataTimePeriod(Object[] dates)
focal_class.identifier: TeradataTimePeriod
focal_class.modifiers: public
focal_class.parameters: (Object[] dates)
focal_class.signature:  TeradataTimePeriod(Object[] dates)
focal_class.class_method_signature: TeradataTimePeriod.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: TeradataTimePeriod.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 TeradataTimePeriod)) {
              return false;
          }
  
          TeradataTimePeriod odp = (TeradataTimePeriod) other;
  
          Object[] thisAtts = null;
          Object[] otherAtts = null;
  
          try {
              otherAtts = odp.getAttributes();
              thisAtts = this.getAttributes();
          } catch (SQLException e) {
              System.out.println("TeradataTimePeriod: equals: 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: TeradataTimePeriod.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)