Lines Matching refs:kEraInfo

39 } kEraInfo[] =  {  variable
279 #define kEraCount (sizeof(kEraInfo)/sizeof(kEraInfo[0]))
333 if(eyear == kEraInfo[era].year) { in getDefaultMonthInYear()
335 return kEraInfo[era].month-1; in getDefaultMonthInYear()
346 if(eyear == kEraInfo[era].year) { in getDefaultDayInMonth()
347 if(month == (kEraInfo[era].month-1)) { in getDefaultDayInMonth()
348 return kEraInfo[era].day; in getDefaultDayInMonth()
372 year = internalGet(UCAL_YEAR) + kEraInfo[internalGetEra()].year - 1; in handleGetExtendedYear()
394 if (year > kEraInfo[kCurrentEra].year) { in handleComputeFields()
408 int32_t diff = year - kEraInfo[i].year; in handleComputeFields()
412 …diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH… in handleComputeFields()
419 diff = internalGet(UCAL_MONTH) - (kEraInfo[i].month - 1); in handleComputeFields()
421 …intf(stderr, "diff now %d (M) = %d - %d - 1\n", diff, internalGet(UCAL_MONTH), kEraInfo[i].month); in handleComputeFields()
424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 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 …return GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].ye… in handleGetLimit()
514 int32_t nextEraYear = kEraInfo[era + 1].year; in getActualMaximum()
515 int32_t nextEraMonth = kEraInfo[era + 1].month; in getActualMaximum()
516 int32_t nextEraDate = kEraInfo[era + 1].day; in getActualMaximum()
518 int32_t maxYear = nextEraYear - kEraInfo[era].year + 1; // 1-base in getActualMaximum()