HomeSort by relevance Sort by last modified time
    Searched refs:eraIdx (Results 1 - 8 of 8) sorted by null

  /external/icu/android_icu4j/src/main/java/android/icu/impl/
EraRules.java 54 int eraIdx = -1;
56 eraIdx = Integer.parseInt(eraIdxStr);
60 if (eraIdx < 0 || eraIdx >= numEras) {
64 if (isSet(startDates[eraIdx])) {
82 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]);
92 if (isSet(startDates[eraIdx])) {
99 if (eraIdx != 0) {
106 startDates[eraIdx] = MIN_ENCODED_START;
114 if (eraIdx >= firstTentativeIdx)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
EraRules.java 52 int eraIdx = -1;
54 eraIdx = Integer.parseInt(eraIdxStr);
58 if (eraIdx < 0 || eraIdx >= numEras) {
62 if (isSet(startDates[eraIdx])) {
80 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]);
90 if (isSet(startDates[eraIdx])) {
97 if (eraIdx != 0) {
104 startDates[eraIdx] = MIN_ENCODED_START;
112 if (eraIdx >= firstTentativeIdx)
    [all...]
  /external/icu/icu4c/source/i18n/
erarules.cpp 141 int32_t eraIdx = (int32_t)strtol(eraIdxStr, &endp, 10);
146 if (eraIdx < 0 || eraIdx >= numEras) {
150 if (isSet(startDates[eraIdx])) {
174 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]);
185 if (isSet(startDates[eraIdx])) {
192 if (eraIdx != 0) {
198 U_ASSERT(eraIdx == 0);
199 startDates[eraIdx] = MIN_ENCODED_START;
207 if (eraIdx >= firstTentativeIdx)
    [all...]
erarules.h 45 * @param eraIdx Era index
51 void getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const;
55 * @param eraIdx Era index
60 int32_t getStartYear(int32_t eraIdx, UErrorCode& status) const;
japancal.cpp 215 int32_t eraIdx = gJapaneseEraRules->getEraIndex(year, internalGet(UCAL_MONTH) + 1, internalGet(UCAL_DAY_OF_MONTH), status);
217 internalSet(UCAL_ERA, eraIdx);
218 internalSet(UCAL_YEAR, year - gJapaneseEraRules->getStartYear(eraIdx, status) + 1);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
JapaneseCalendar.java 326 int eraIdx = ERA_RULES.getEraIndex(year, internalGet(MONTH) + 1 /* 1-base */, internalGet(DAY_OF_MONTH));
328 internalSet(ERA, eraIdx);
329 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
JapaneseCalendar.java 340 int eraIdx = ERA_RULES.getEraIndex(year, internalGet(MONTH) + 1 /* 1-base */, internalGet(DAY_OF_MONTH));
342 internalSet(ERA, eraIdx);
343 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1);
  /external/cldr/tools/java/libs/
icu4j.jar 

Completed in 189 milliseconds