test_class.declarator: range
test_class.modifier: private
test_class.original_string: private DateRange range;
test_class.type: DateRange
test_class.var_name: range
test_class.file: dddlib-utils/src/test/java/org/dayatang/utils/DateRangeTest.java
test_class.identifier: DateRangeTest
test_case.body: @Test
  	public void testToString() throws ParseException {
  		Date from = DateUtils.parseDate("2007-12-05 04:10:15", new String[] {"yyyy-M-d hh:mm:ss"});
  		Date to = DateUtils.parseDate("2007-12-15 23:10:15", new String[] {"yyyy-M-d hh:mm:ss"});
  		String fromString = DateFormat.getDateInstance().format(from);
  		String toString = DateFormat.getDateInstance().format(to);
  		assertEquals("[" + fromString + " - " + toString + "]", range.toString());
  	}
test_case.class_method_signature: DateRangeTest.testToString()
test_case.full_signature: @Test public void testToString()
test_case.identifier: testToString
test_case.invocations: parseDate parseDate format getDateInstance format getDateInstance assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testToString()
focal_class.declarator: serialVersionUID = -2800351591055572549L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -2800351591055572549L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: from
focal_class.modifier: private
focal_class.original_string: private Date from;
focal_class.type: Date
focal_class.var_name: from
focal_class.declarator: to
focal_class.modifier: private
focal_class.original_string: private Date to;
focal_class.type: Date
focal_class.var_name: to
focal_class.file: dddlib-utils/src/main/java/org/dayatang/utils/DateRange.java
focal_class.identifier: DateRange
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: DateRange.DateRange(Date from, Date to)
focal_class.full_signature: public  DateRange(Date from, Date to)
focal_class.identifier: DateRange
focal_class.modifiers: public
focal_class.parameters: (Date from, Date to)
focal_class.signature:  DateRange(Date from, Date to)
focal_class.class_method_signature: DateRange.getFrom()
focal_class.full_signature: public Date getFrom()
focal_class.identifier: getFrom
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getFrom()
focal_class.class_method_signature: DateRange.getTo()
focal_class.full_signature: public Date getTo()
focal_class.identifier: getTo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getTo()
focal_class.class_method_signature: DateRange.contains(Date date)
focal_class.full_signature: public boolean contains(Date date)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (Date date)
focal_class.return: boolean
focal_class.signature: boolean contains(Date date)
focal_class.class_method_signature: DateRange.equals(final Object other)
focal_class.full_signature: @Override public boolean equals(final Object other)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object other)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object other)
focal_class.class_method_signature: DateRange.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DateRange.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_method.body: @Override
      public String toString() {
          return "[" + DateFormat.getDateInstance().format(from)
                  + " - "
                  + DateFormat.getDateInstance().format(to) + "]";
      }
focal_method.class_method_signature: DateRange.toString()
focal_method.full_signature: @Override public String toString()
focal_method.identifier: toString
focal_method.invocations: format getDateInstance format getDateInstance
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()