convertMonthNumbersToMonthNames = (firstMonth, lastMonth, calendarType) => {
    const localeData = (0, _getCachedLocaleDataInstance.default)((0, _getLocale.default)());
    const pattern = localeData.getIntervalPattern("");
    const secondaryMonthsNames = localeData.getMonthsStandAlone("abbreviated", calendarType);
    const secondaryMonthsNamesWide = localeData.getMonthsStandAlone("wide", calendarType);
    if (firstMonth === lastMonth) {
      return {
        text: localeData.getMonths("abbreviated", calendarType)[firstMonth],
        textInfo: localeData.getMonths("wide", calendarType)[firstMonth]
      };
    }
    return {
      text: pattern.replace(/\{0\}/, secondaryMonthsNames[firstMonth]).replace(/\{1\}/, secondaryMonthsNames[lastMonth]),
      textInfo: pattern.replace(/\{0\}/, secondaryMonthsNamesWide[firstMonth]).replace(/\{1\}/, secondaryMonthsNamesWide[lastMonth])
    };
  }
Convert month number to month name (text).
If the numbers of the two months are the same you will get the name of the month,
otherwise you will get the two names separated by a dash

@param firstMonth CalendarDate Month
@param lastMonth CalendarDate Month
@param calendarType calendar type
@returns {String}