//The above joint calendar has been obtained by joining businessdays of newyork stock exchange and government bond calendar
//which means a day will be a business day for the joint calendar if it is a business day for both of the calendars used
//(NYSE,GovtBond) and will be a holiday if the day is a holiday in atleast one of the calendars.
//Let's get the list of holidays for the joint calendar from the date today to date advanced(obtained by advancing date today by 90 days)
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()) {