test_class.file: dbfit-java/teradata/src/test/java/dbfit/environment/TeradataTimestampPeriodParseDelegateTest.java
test_class.identifier: TeradataTimestampPeriodParseDelegateTest
test_case.body: @Test
      public void parseTest() {
  
          String fromStr = "2012-11-11 01:23:45";
          String toStr = "2014-06-02 12:13:14";
  
          java.sql.Timestamp F = null;
          java.sql.Timestamp T = null;
  
          try {
              F = (java.sql.Timestamp) SqlTimestampParseDelegate.parse(fromStr);
              T = (java.sql.Timestamp) SqlTimestampParseDelegate.parse(toStr);
          }
          catch (Exception e) {
              throw new Error("Parsing timestamp literals");
          }
  
          Object[] range = { F, T };
          TeradataTimestampPeriod tp = new TeradataTimestampPeriod(range);
  
          TeradataTimestampPeriod tp2 = null;
          try {
              tp2 = (TeradataTimestampPeriod) TeradataTimestampPeriodParseDelegate.parse(fromStr + "," + toStr);
          }
          catch (Exception e) {
              throw new Error("During TeradataTimestampPeriodParseDelegate.parse(" + fromStr + "," + toStr + ")");
          }
  
          assertTrue("Timestamp period parse does not produce expected object", tp.equals(tp2));
      }
test_case.class_method_signature: TeradataTimestampPeriodParseDelegateTest.parseTest()
test_case.full_signature: @Test public void parseTest()
test_case.identifier: parseTest
test_case.invocations: parse parse parse assertTrue equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parseTest()
focal_class.declarator: df = DateFormat.getDateTimeInstance()
focal_class.modifier: private static
focal_class.original_string: private static DateFormat df = DateFormat.getDateTimeInstance();
focal_class.type: DateFormat
focal_class.var_name: df
focal_class.file: dbfit-java/teradata/src/main/java/dbfit/environment/TeradataTimestampPeriodParseDelegate.java
focal_class.identifier: TeradataTimestampPeriodParseDelegate
focal_class.class_method_signature: TeradataTimestampPeriodParseDelegate.parse(String s)
focal_class.full_signature: public static Object parse(String s)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: Object
focal_class.signature: Object parse(String s)
focal_method.body: public static Object parse(String s) throws Exception {
  
          System.out.println("TeradataTimestampPeriodParseDelegate: parse: s: " + s);
          String[] periodParts = s.split(",");
  
          java.sql.Timestamp F = (java.sql.Timestamp) SqlTimestampParseDelegate.parse(periodParts[0]);
          java.sql.Timestamp T = (java.sql.Timestamp) SqlTimestampParseDelegate.parse(periodParts[1]);
  
          Object[] data = { F, T };
  
          return new TeradataTimestampPeriod(data);
      }
focal_method.class_method_signature: TeradataTimestampPeriodParseDelegate.parse(String s)
focal_method.full_signature: public static Object parse(String s)
focal_method.identifier: parse
focal_method.invocations: println split parse parse
focal_method.modifiers: public static
focal_method.parameters: (String s)
focal_method.return: Object
focal_method.signature: Object parse(String s)