confirm that a daterange is immutable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testClone concode_elem_sep void testSerialization concode_elem_sep void testEquals
void function ( ) { Date loc0 = new Date ( 10L ) ; Date loc1 = new Date ( 20L ) ; DateRange loc2 = new DateRange ( loc0 , loc1 ) ; loc0 . setTime ( 11L ) ; assertEquals ( new Date ( 10L ) , loc2 . getLowerDate ( ) ) ; loc2 . getUpperDate ( ) . setTime ( 22L ) ; assertEquals ( new Date ( 20L ) , loc2 . getUpperDate ( ) ) ; }