Searched refs:eraIdx (Results 1 – 8 of 8) sorted by relevance
54 int eraIdx = -1; in getInstance() local56 eraIdx = Integer.parseInt(eraIdxStr); in getInstance()60 if (eraIdx < 0 || eraIdx >= numEras) { in getInstance()64 if (isSet(startDates[eraIdx])) { in getInstance()82 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()92 if (isSet(startDates[eraIdx])) { in getInstance()99 if (eraIdx != 0) { in getInstance()106 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()114 if (eraIdx >= firstTentativeIdx) { in getInstance()116 … "Non-tentative era(" + eraIdx + ") must be placed before the first tentative era"); in getInstance()[all …]
52 int eraIdx = -1; in getInstance() local54 eraIdx = Integer.parseInt(eraIdxStr); in getInstance()58 if (eraIdx < 0 || eraIdx >= numEras) { in getInstance()62 if (isSet(startDates[eraIdx])) { in getInstance()80 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()90 if (isSet(startDates[eraIdx])) { in getInstance()97 if (eraIdx != 0) { in getInstance()104 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()112 if (eraIdx >= firstTentativeIdx) { in getInstance()114 … "Non-tentative era(" + eraIdx + ") must be placed before the first tentative era"); in getInstance()[all …]
141 int32_t eraIdx = (int32_t)strtol(eraIdxStr, &endp, 10); in createInstance() local146 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()150 if (isSet(startDates[eraIdx])) { in createInstance()174 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in createInstance()185 if (isSet(startDates[eraIdx])) { in createInstance()192 if (eraIdx != 0) { in createInstance()198 U_ASSERT(eraIdx == 0); in createInstance()199 startDates[eraIdx] = MIN_ENCODED_START; in createInstance()207 if (eraIdx >= firstTentativeIdx) { in createInstance()212 if (eraIdx < firstTentativeIdx) { in createInstance()[all …]
51 void getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const;60 int32_t getStartYear(int32_t eraIdx, UErrorCode& status) const;
215 …int32_t eraIdx = gJapaneseEraRules->getEraIndex(year, internalGet(UCAL_MONTH) + 1, internalGet(UCA… in handleComputeFields() local217 internalSet(UCAL_ERA, eraIdx); in handleComputeFields()218 internalSet(UCAL_YEAR, year - gJapaneseEraRules->getStartYear(eraIdx, status) + 1); in handleComputeFields()
326 …int eraIdx = ERA_RULES.getEraIndex(year, internalGet(MONTH) + 1 /* 1-base */, internalGet(DAY_OF_M… in handleComputeFields() local328 internalSet(ERA, eraIdx); in handleComputeFields()329 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1); in handleComputeFields()
340 …int eraIdx = ERA_RULES.getEraIndex(year, internalGet(MONTH) + 1 /* 1-base */, internalGet(DAY_OF_M… in handleComputeFields() local342 internalSet(ERA, eraIdx); in handleComputeFields()343 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1); in handleComputeFields()
META-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...