Home
last modified time | relevance | path

Searched refs:UCAL_ERA (Results 1 – 25 of 58) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dtaiwncal.cpp71 && 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);
Dbuddhcal.cpp90 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);
Djapancal.cpp358 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()
Dethpccal.cpp91 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()
Dgregocal.cpp227 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()
Dcoptccal.cpp65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear()
90 internalSet(UCAL_ERA, era); in handleComputeFields()
Dchnsecal.cpp218 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear()
221 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear()
726 internalSet(UCAL_ERA, cycle + 1); in computeChineseFields()
Dpersncal.cpp226 internalSet(UCAL_ERA, 0); in handleComputeFields()
Dcalendar.cpp1425 (1 << UCAL_ERA) | in computeFields()
1659 internalSet(UCAL_ERA, era); in handleComputeFields()
1688 case UCAL_ERA: in roll()
1758 int32_t era = get(UCAL_ERA, status); in roll()
2047 case UCAL_ERA: in add()
2049 pinField(UCAL_ERA, status); in add()
2062 int32_t era = get(UCAL_ERA, status); in add()
3123 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset); in computeJulianDay()
/external/chromium_org/third_party/icu/source/i18n/
Dtaiwncal.cpp71 && 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);
Dbuddhcal.cpp90 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);
Djapancal.cpp358 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()
Dethpccal.cpp91 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()
Dgregocal.cpp227 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()
Dcoptccal.cpp65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear()
90 internalSet(UCAL_ERA, era); in handleComputeFields()
Dchnsecal.cpp218 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear()
221 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear()
726 internalSet(UCAL_ERA, cycle + 1); in computeChineseFields()
Dpersncal.cpp226 internalSet(UCAL_ERA, 0); in handleComputeFields()
Dcalendar.cpp1296 (1 << UCAL_ERA) | in computeFields()
1530 internalSet(UCAL_ERA, era); in handleComputeFields()
1559 case UCAL_ERA: in roll()
1629 int32_t era = get(UCAL_ERA, status); in roll()
1918 case UCAL_ERA: in add()
1920 pinField(UCAL_ERA, status); in add()
1933 int32_t era = get(UCAL_ERA, status); in add()
2962 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset); in computeJulianDay()
Dindiancal.cpp327 internalSet(UCAL_ERA, 0); in handleComputeFields()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp179 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()
Dcalcasts.cpp61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases()
73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
/external/chromium_org/third_party/icu/source/test/intltest/
Dincaltst.cpp182 cal.set(UCAL_ERA, era); in quasiGregorianTest()
200 int e = cal.get(UCAL_ERA, status); in quasiGregorianTest()
207 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest()
211 … errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest()
653 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
693 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
Dcalcasts.cpp61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases()
73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2095 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/chromium_org/third_party/icu/source/test/cintltst/
Dccaltst.c2091 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
2106 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
2121 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
2125 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2140 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2153 int32_t eraMin = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MINIMUM, &status); in TestAddRollEra0AndEraBounds()
2163 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
2164 eraMax = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MAXIMUM, &status); in TestAddRollEra0AndEraBounds()
2170 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds()
2184 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds()
[all …]

123