Date function ( int arg0 , int arg1 ) { Calendar loc0 = Calendar . getInstance ( ) ; loc0 . add ( arg0 , arg1 ) ; return loc0 . getTime ( ) ; }
adds or subtracts the specified amount of time to the given calendar field , based on the calendar 's rules . for example , to after 5 days from the current time of the calendar , you can achieve it by calling : getafterdate calendar.day _ of_month , 5 concode_field_sep SimpleDateFormat SDF5 concode_elem_sep SimpleDateFormat SDF6 concode_elem_sep SimpleDateFormat SDF8 concode_elem_sep SimpleDateFormat SDF9 concode_elem_sep SimpleDateFormat SDF2 concode_elem_sep SimpleDateFormat SDF3 concode_elem_sep SimpleDateFormat SDF4 concode_elem_sep SimpleDateFormat SDF1 concode_elem_sep SimpleDateFormat SDF7 concode_field_sep String getAssignTime concode_elem_sep String getTimeStamp concode_elem_sep String getDateTime concode_elem_sep String getCurrentDate concode_elem_sep String format concode_elem_sep String getDateStr concode_elem_sep String getCurrentConcretDate concode_elem_sep Date parse concode_elem_sep String getDateAndTime concode_elem_sep String getCurrentTime concode_elem_sep boolean isAfter concode_elem_sep boolean isBefore