Searched refs:UCAL_ERA (Results 1 - 25 of 27) sorted by relevance

12

/external/icu4c/i18n/
H A Dtaiwncal.cpp71 && newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) {
74 int32_t era = internalGet(UCAL_ERA, MINGUO);
89 internalSet(UCAL_ERA, MINGUO);
92 internalSet(UCAL_ERA, BEFORE_MINGUO);
99 if(field == UCAL_ERA) {
115 int32_t era = internalGet(UCAL_ERA);
129 internalSet(UCAL_ERA, era);
H A Dbuddhcal.cpp90 internalSet(UCAL_ERA, 0);
96 if(field == UCAL_ERA) {
108 int32_t era = internalGet(UCAL_ERA);
122 internalSet(UCAL_ERA, era);
H A Djapancal.cpp358 return internalGet(UCAL_ERA, kCurrentEra);
368 newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) {
450 internalSet(UCAL_ERA, low);
479 case UCAL_ERA:
506 int32_t era = get(UCAL_ERA, status);
H A Dethpccal.cpp91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET);
121 internalSet(UCAL_ERA, era);
131 if (isAmeteAlemEra() && field == UCAL_ERA) {
H A Dcoptccal.cpp65 int32_t era = internalGet(UCAL_ERA, CE);
90 internalSet(UCAL_ERA, era);
H A Dgregocal.cpp227 set(UCAL_ERA, AD);
242 set(UCAL_ERA, AD);
260 set(UCAL_ERA, AD);
359 if (cal->get(UCAL_ERA, status) == BC)
444 internalSet(UCAL_ERA, era);
1147 int32_t era = cal->get(UCAL_ERA, status);
1158 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) {
1199 int32_t era = internalGet(UCAL_ERA, AD);
1227 int32_t era = internalGet(UCAL_ERA, AD);
1257 return isSet(UCAL_ERA)
[all...]
H A Dchnsecal.cpp187 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) {
190 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle
666 internalSet(UCAL_ERA, cycle + 1);
H A Dindiancal.cpp327 internalSet(UCAL_ERA, 0);
H A Dpersncal.cpp357 internalSet(UCAL_ERA, 0);
H A Dhebrwcal.cpp596 internalSet(UCAL_ERA, 0);
H A Dislamcal.cpp440 internalSet(UCAL_ERA, 0);
H A Ddtitvfmt.cpp297 if ( fromCalendar.get(UCAL_ERA,status) != toCalendar.get(UCAL_ERA,status)) {
298 field = UCAL_ERA;
H A Dcalendar.cpp1248 (1 << UCAL_ERA) |
1482 internalSet(UCAL_ERA, era);
1511 case UCAL_ERA:
1830 case UCAL_ERA:
1832 pinField(UCAL_ERA, status);
2684 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset);
H A Ddtitvinf.cpp525 case UCAL_ERA:
H A Dsmpdtfmt.cpp899 * For example, UCAL_ERA level is 0, UCAL_YEAR level is 10,
938 /*GyM*/ UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
2667 ps = matchString(text, start, UCAL_ERA, fSymbols->fNarrowEras, fSymbols->fNarrowErasCount, cal);
2669 ps = matchString(text, start, UCAL_ERA, fSymbols->fEraNames, fSymbols->fEraNamesCount, cal);
2671 ps = matchString(text, start, UCAL_ERA, fSymbols->fEras, fSymbols->fErasCount, cal);
H A Dudat.cpp45 UCAL_ERA, // UDAT_ERA_FIELD = 0
/external/icu4c/test/intltest/
H A Dincaltst.cpp182 cal.set(UCAL_ERA, era);
200 int e = cal.get(UCAL_ERA, status);
207 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" +
211 errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" +
653 int32_t gotEra = cal2->get(UCAL_ERA, s2);
693 int32_t gotEra = cal2->get(UCAL_ERA, s2);
H A Dcalcasts.cpp61 checkField(cal, UCAL_ERA, cases[i].era, status);
73 cal->set(UCAL_ERA, cases[i].era);
H A Dcallimts.cpp276 UCAL_ERA,
H A Ddtfmtrtts.cpp405 if( ! hasEra && getField(d[0], UCAL_ERA) == GregorianCalendar::BC)
H A Dtzregts.cpp384 tzOffset = testTZ->getOffset((uint8_t)testCal->get(UCAL_ERA, status),
469 int32_t era = cal->get(UCAL_ERA, status);
H A Dtzbdtest.cpp212 int32_t offset = time_zone->getOffset((uint8_t)gc->get(UCAL_ERA, status),
H A Dcalregts.cpp1414 cal->set(UCAL_ERA, y < 1 ? GregorianCalendar::BC : GregorianCalendar::AD);
1443 cal->set(UCAL_ERA, GregorianCalendar::BC);
1539 int32_t era1 = calendar->get(UCAL_ERA,status);
1543 int32_t era2 = calendar->get(UCAL_ERA,status);
1662 if (calendar->get(UCAL_ERA, status) != GregorianCalendar::BC || U_FAILURE(status)) {
1668 if (calendar->get(UCAL_ERA, status) != GregorianCalendar::AD || U_FAILURE(status)) {
/external/icu4c/i18n/unicode/
H A Ducal.h189 UCAL_ERA, enumerator in enum:UCalendarDateFields
1011 * @param field The field to which to add the signed value; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1032 * @param field The field to which to add the signed value; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1053 * @param field The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1074 * @param field The field to set; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1094 * @param field The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1113 * @param field The field to clear; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1166 * @param field The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
1352 * @param field The field to compare; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH,
/external/icu4c/tools/toolutil/
H A Dudbgutil.cpp80 FIELD_NAME_STR( LEN_UCAL, UCAL_ERA ),

Completed in 175 milliseconds

12