_setSecondaryCalendarTypeButtonText() {
      const yearFormatSecType = _DateFormat.default.getDateInstance({
        format: "y",
        calendarType: this._secondaryCalendarType
      });
      if (this._currentPicker === "year") {
        const rangeStart = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
        const rangeEnd = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
        rangeStart.setYear(this._currentPickerDOM._firstYear);
        rangeEnd.setYear(this._currentPickerDOM._lastYear);
        const rangeStartSecType = (0, _transformDateToSecondaryType.default)(this.primaryCalendarType, this._secondaryCalendarType, rangeStart.valueOf() / 1000, true).firstDate;
        const rangeEndSecType = (0, _transformDateToSecondaryType.default)(this.primaryCalendarType, this._secondaryCalendarType, rangeEnd.valueOf() / 1000, true).lastDate;
        this._headerYearButtonTextSecType = `${yearFormatSecType.format(rangeStartSecType.toLocalJSDate(), true)} - ${yearFormatSecType.format(rangeEndSecType.toLocalJSDate(), true)}`;
      } else {
        this._headerYearButtonTextSecType = String(yearFormatSecType.format(this._localDate, true));
      }
    }
The year clicked the "Next" button in the header