code: private void setCalcTypeForLocale(ULocale locale) {
          String localeCalType = CalendarUtil.getCalendarType(locale);
          if("islamic-civil".equals(localeCalType))
              setCalculationType(CalculationType.ISLAMIC_CIVIL);
          else if("islamic-umalqura".equals(localeCalType))
              setCalculationType(CalculationType.ISLAMIC_UMALQURA);
          else if("islamic-tbla".equals(localeCalType))
              setCalculationType(CalculationType.ISLAMIC_TBLA);
          else if(localeCalType.startsWith("islamic"))
              setCalculationType(CalculationType.ISLAMIC);       // needs to be last so it's always the default if it's islamic-something-unhandled
          else
              setCalculationType(CalculationType.ISLAMIC_CIVIL); // default for any non-islamic calendar locale
      }
docs: set type based on locale