question: parses a string that contains a date in a certain format concode_field_sep int DAYS_TILL_END_OF_WEEK concode_field_sep Calendar endOfWeek concode_elem_sep int currentWeekNumber concode_elem_sep Calendar dateToCalendar concode_elem_sep Calendar now concode_elem_sep String format concode_elem_sep Calendar beginningOfWeek concode_elem_sep Calendar newCalendar concode_elem_sep int currentMonth concode_elem_sep Calendar endOfMonth concode_elem_sep Calendar endOfMonth concode_elem_sep int currentYear concode_elem_sep int weekNumber concode_elem_sep Calendar endOfCurrentMonth
target: Calendar function ( final String arg0 , final String arg1 ) { try { SimpleDateFormat loc0 = new SimpleDateFormat ( arg1 ) ; Date loc1 = loc0 . parse ( arg0 ) ; return dateToCalendar ( loc1 ) ; } catch ( ParseException loc0 ) { Logger . getLogger ( Console . class . getName ( ) ) . log ( Level . SEVERE , null , loc0 ) ; } return null ; }