Lines Matching refs:numEras
102 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() argument
103 : numEras(numEras) { in EraRules()
124 int32_t numEras = ures_getSize(rb.getAlias()); in createInstance() local
127 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
132 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
146 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()
222 result = new EraRules(startDates, numEras); in createInstance()
235 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
247 if (eraIdx < 0 || eraIdx >= numEras) { in getStartYear()
267 int32_t high = numEras; // last index + 1 in getEraIndex()
295 int eraIdx = numEras - 1; in initCurrentEra()