class CalendarBusinessDateUtils {

  public static LocalDate nextGoodBusinessDate(final LocalDate startingDate, final Calendar calendar) {
    LocalDate currentDate = startingDate;
    while (!calendar.isWorkingDay(currentDate)) {
      currentDate = currentDate.plusDays(1);
    }
    return currentDate;
  }

}