void function ( ) { Date loc0 = new Date ( ) ; time . setTime ( loc0 ) ; Date loc1 = time . toDate ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; assertEquals ( loc0 . getTime ( ) , loc1 . getTime ( ) ) ; }
test method for settime and todate round-trip . concode_field_sep Time time concode_field_sep void testParseTimeWithOneDecimal concode_elem_sep void testSetNegativeMinutes concode_elem_sep void testFormatTimeWithOneDecimal concode_elem_sep void testSetMinutes concode_elem_sep void testParseTimeWithoutDecimals concode_elem_sep void testGetMinutes concode_elem_sep void testParseTimeWithDecimals concode_elem_sep void testSetInvalidSeconds concode_elem_sep void testSetNegativeHour concode_elem_sep void testToDate concode_elem_sep void testGetSeconds concode_elem_sep void testSetHour concode_elem_sep void testGetHour concode_elem_sep void testSetSeconds concode_elem_sep void testSetTime concode_elem_sep void testGetMilliseconds concode_elem_sep void testSetInvalidHour concode_elem_sep void testSetNegativeSeconds concode_elem_sep void setUp concode_elem_sep void testSetInvalidMinutes concode_elem_sep void testFormatTimeNoDecimals concode_elem_sep void testFormatTimeWithDecimals concode_elem_sep void testEquals