final List<Date> listOfHoliDays = jointCalendar.holidayList(jointCalendar, dateToday, dateAdvanced, true);
//Now let's get the same holiday list between dateToday and dateAdvanced using isBusinessDay API
final List<Date> holidayListObtainedUsingCalAPI = new ArrayList<Date>();
final Date start = dateToday.clone();
for (; !start.eq(dateAdvanced); start.inc()) {
if (jointCalendar.isHoliday(start)){
holidayListObtainedUsingCalAPI.add(start.clone());
}
}