/external/icu/icu4c/source/i18n/ |
D | taiwncal.cpp | 71 && newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 74 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() 89 internalSet(UCAL_ERA, MINGUO); in handleComputeFields() 92 internalSet(UCAL_ERA, BEFORE_MINGUO); in handleComputeFields() 99 if(field == UCAL_ERA) { in handleGetLimit() 115 int32_t era = internalGet(UCAL_ERA); 129 internalSet(UCAL_ERA, era);
|
D | buddhcal.cpp | 90 internalSet(UCAL_ERA, 0); in handleComputeFields() 96 if(field == UCAL_ERA) { in handleGetLimit() 108 int32_t era = internalGet(UCAL_ERA); 122 internalSet(UCAL_ERA, era);
|
D | japancal.cpp | 358 return internalGet(UCAL_ERA, kCurrentEra); in internalGetEra() 368 newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 450 internalSet(UCAL_ERA, low); in handleComputeFields() 479 case UCAL_ERA: in handleGetLimit() 506 int32_t era = get(UCAL_ERA, status); in getActualMaximum()
|
D | ethpccal.cpp | 91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() 121 internalSet(UCAL_ERA, era); in handleComputeFields() 131 if (isAmeteAlemEra() && field == UCAL_ERA) { in handleGetLimit()
|
D | gregocal.cpp | 227 set(UCAL_ERA, AD); in GregorianCalendar() 242 set(UCAL_ERA, AD); in GregorianCalendar() 260 set(UCAL_ERA, AD); in GregorianCalendar() 359 if (cal->get(UCAL_ERA, status) == BC) in setGregorianChange() 444 internalSet(UCAL_ERA, era); in handleComputeFields() 1147 int32_t era = cal->get(UCAL_ERA, status); in getActualMaximum() 1158 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) { in getActualMaximum() 1199 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYear() 1227 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYearFromWeekFields() 1257 return isSet(UCAL_ERA) ? internalGet(UCAL_ERA) : (int32_t)AD; in internalGetEra()
|
D | coptccal.cpp | 65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() 90 internalSet(UCAL_ERA, era); in handleComputeFields()
|
D | chnsecal.cpp | 221 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear() 224 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear() 729 internalSet(UCAL_ERA, cycle + 1); in computeChineseFields()
|
D | persncal.cpp | 226 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | calendar.cpp | 1488 (1 << UCAL_ERA) | in computeFields() 1722 internalSet(UCAL_ERA, era); in handleComputeFields() 1751 case UCAL_ERA: in roll() 1821 int32_t era = get(UCAL_ERA, status); in roll() 2110 case UCAL_ERA: in add() 2112 pinField(UCAL_ERA, status); in add() 2125 int32_t era = get(UCAL_ERA, status); in add() 3192 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset); in computeJulianDay()
|
D | indiancal.cpp | 326 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | dtitvfmt.cpp | 297 if ( fromCalendar.get(UCAL_ERA,status) != toCalendar.get(UCAL_ERA,status)) { in format() 298 field = UCAL_ERA; in format()
|
D | hebrwcal.cpp | 603 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | islamcal.cpp | 686 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | smpdtfmt.cpp | 1149 /*GyM*/ UCAL_ERA, UCAL_YEAR, UCAL_MONTH, 2761 cal.set(UCAL_ERA, value); in subParse() 2765 …ps = matchString(text, start, UCAL_ERA, fSymbols->fNarrowEras, fSymbols->fNarrowErasCount, NULL, c… in subParse() 2767 … ps = matchString(text, start, UCAL_ERA, fSymbols->fEraNames, fSymbols->fEraNamesCount, NULL, cal); in subParse() 2769 … ps = matchString(text, start, UCAL_ERA, fSymbols->fEras, fSymbols->fErasCount, NULL, cal); in subParse()
|
D | dtitvinf.cpp | 553 case UCAL_ERA: in calendarFieldToIntervalIndex()
|
/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 179 cal.set(UCAL_ERA, era); in quasiGregorianTest() 197 int e = cal.get(UCAL_ERA, status); in quasiGregorianTest() 204 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 208 … errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 650 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() 690 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
|
D | calcasts.cpp | 61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases() 73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
|
D | calregts.cpp | 1454 cal->set(UCAL_ERA, y < 1 ? GregorianCalendar::BC : GregorianCalendar::AD); in test4125881() 1487 cal->set(UCAL_ERA, GregorianCalendar::BC); in test4125892() 1583 int32_t era1 = calendar->get(UCAL_ERA,status); in test4145158() 1587 int32_t era2 = calendar->get(UCAL_ERA,status); in test4145158() 1706 if (calendar->get(UCAL_ERA, status) != GregorianCalendar::BC || U_FAILURE(status)) { in Test4149677() 1712 if (calendar->get(UCAL_ERA, status) != GregorianCalendar::AD || U_FAILURE(status)) { in Test4149677()
|
D | tzrulets.cpp | 290 cal->set(UCAL_ERA, GregorianCalendar::BC); in TestSimpleRuleBasedTimeZone() 293 era = cal->get(UCAL_ERA, status); in TestSimpleRuleBasedTimeZone() 329 cal->set(UCAL_ERA, GregorianCalendar::AD); in TestSimpleRuleBasedTimeZone() 332 era = cal->get(UCAL_ERA, status); in TestSimpleRuleBasedTimeZone()
|
D | tzregts.cpp | 384 tzOffset = testTZ->getOffset((uint8_t)testCal->get(UCAL_ERA, status), in checkCalendar314() 469 int32_t era = cal->get(UCAL_ERA, status); in Test4126678()
|
D | dtfmtrtts.cpp | 408 if( ! hasEra && getField(d[0], UCAL_ERA) == GregorianCalendar::BC) in test()
|
D | callimts.cpp | 277 UCAL_ERA, in doLimitsTest()
|
D | tzbdtest.cpp | 212 int32_t offset = time_zone->getOffset((uint8_t)gc->get(UCAL_ERA, status), in verifyDST()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2095 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2110 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2125 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2129 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2144 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2157 int32_t eraMin = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MINIMUM, &status); in TestAddRollEra0AndEraBounds() 2167 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2168 eraMax = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MAXIMUM, &status); in TestAddRollEra0AndEraBounds() 2174 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() 2188 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucal.h | 189 UCAL_ERA, enumerator
|