code: public CalendarDateCalculator getDateCalculator(final String name, final String holidayHandlerType) {
          final CalendarDateCalculator cal = new CalendarDateCalculator();
          cal.setName(name);
          setHolidays(name, cal);
          if (holidayHandlerType != null) {
              cal.setHolidayHandler(getHolidayHandler(holidayHandlerType));
          }
          return cal;
      }
docs: Create a new DateCalculator for a given name and type of handling.
  
  @param name
  calendar name (holidays set interested in). If there is set of
  holidays with that name, it will return a DateCalculator with
  an empty holiday set (will work on Weekend only).
  @param holidayHandlerType
  typically one of the value of HolidayHandlerType or null.
  @return a new DateCalculator
  @exception IllegalArgumentException
  if the type is not null or a valid value.