returns the next work day after the date in the given date . concode_field_sep long MILLISECONDS_IN_DAY concode_elem_sep long MILLISECONDS_IN_MINUTE concode_field_sep Date date concode_elem_sep GregorianCalendar setToNextDayOfWeek concode_elem_sep int year concode_elem_sep Date normalizeToMidnight concode_elem_sep GregorianCalendar normalizeToMidnight concode_elem_sep boolean isToday concode_elem_sep boolean isNotOlderThanSevenDays concode_elem_sep Long numberOfDaysBetweenDates concode_elem_sep Integer ageAtDate concode_elem_sep boolean isWeekend concode_elem_sep Date normalizeToEndOfDay concode_elem_sep GregorianCalendar normalizeToEndOfDay concode_elem_sep GregorianCalendar cal concode_elem_sep GregorianCalendar cal concode_elem_sep boolean isWeekday concode_elem_sep int monthOfYear concode_elem_sep int dayOfMonth concode_elem_sep boolean isWorkday concode_elem_sep Long numberOfDaysFromToday concode_elem_sep GregorianCalendar normalizeMonth concode_elem_sep Date addDays
Date function ( Date arg0 ) { arg0 = normalizeToMidnight ( arg0 ) ; arg0 = arg0 ( year ( arg0 ) , monthOfYear ( arg0 ) , dayOfMonth ( arg0 ) + 1 ) ; while ( ! isWorkday ( arg0 ) ) { arg0 = arg0 ( year ( arg0 ) , monthOfYear ( arg0 ) , dayOfMonth ( arg0 ) + 1 ) ; } return arg0 ; }