code: protected int handleGetExtendedYear() {
          // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year
          // The default value of EXTENDED_YEAR is 1970 (Minguo 59)
          int year = GREGORIAN_EPOCH;
          if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR
                  && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) {
              year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH);
          } else {
              int era = internalGet(ERA, MINGUO);
              if (era == MINGUO) {
                  year = internalGet(YEAR, 1) + Taiwan_ERA_START;
              } else {
                  year = 1 - internalGet(YEAR, 1) + Taiwan_ERA_START;
              }
          }
          return year;
      }
docs: {@inheritDoc}