test comparison of instants concode_field_sep Calendar cal concode_elem_sep Instant instant1 concode_elem_sep Instant instant2 concode_elem_sep Position position1 concode_elem_sep Position position2 concode_field_sep void testSetEndBy concode_elem_sep void testGetPosition concode_elem_sep void testGetEndedBy concode_elem_sep void testToString concode_elem_sep void setUp concode_elem_sep void testSetBegunBy concode_elem_sep void testGetBegunBy concode_elem_sep void testHashCode concode_elem_sep void tearDown concode_elem_sep void testSetPosition concode_elem_sep void testEquals
void function ( ) { assertEquals ( 1 , ( ( DefaultInstant ) instant1 ) . compareTo ( instant2 ) ) ; assertEquals ( 0 , ( ( DefaultInstant ) instant1 ) . compareTo ( instant1 ) ) ; assertEquals ( 0 , ( ( DefaultInstant ) instant2 ) . compareTo ( instant2 ) ) ; }