Lines Matching refs:year
36 int16_t year; member
333 if(eyear == kEraInfo[era].year) { in getDefaultMonthInYear()
346 if(eyear == kEraInfo[era].year) { in getDefaultDayInMonth()
365 int32_t year; in handleGetExtendedYear() local
369 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
372 year = internalGet(UCAL_YEAR) + kEraInfo[internalGetEra()].year - 1; in handleGetExtendedYear()
374 return year; in handleGetExtendedYear()
382 int32_t year = internalGet(UCAL_EXTENDED_YEAR); // Gregorian year in handleComputeFields() local
391 fprintf(stderr, "== %d \n", year); in handleComputeFields()
394 if (year > kEraInfo[kCurrentEra].year) { in handleComputeFields()
408 int32_t diff = year - kEraInfo[i].year; in handleComputeFields()
412 …Info[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DAT… in handleComputeFields()
436 fprintf(stderr, ". low=%d, high=%d, i=%d, diff=%d.. %d\n", low, high, i, diff, year); in handleComputeFields()
443 fprintf(stderr, " low[era]=%d,.. %d\n", low, year); in handleComputeFields()
451 internalSet(UCAL_YEAR, year - kEraInfo[low].year + 1); in handleComputeFields()
453 fprintf(stderr, " Set ERA=%d, year=%d\n", low, year-kEraInfo[low].year+1); in handleComputeFields()
494 …turn GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].year; in handleGetLimit()
514 int32_t nextEraYear = kEraInfo[era + 1].year; in getActualMaximum()
518 int32_t maxYear = nextEraYear - kEraInfo[era].year + 1; // 1-base in getActualMaximum()