Home
last modified time | relevance | path

Searched refs:UCAL_EXTENDED_YEAR (Results 1 – 18 of 18) sorted by relevance

/external/icu4c/i18n/
Dtaiwncal.cpp70 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR in handleGetExtendedYear()
71 && newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
87 int32_t y = internalGet(UCAL_EXTENDED_YEAR) - kTaiwanEraStart; in handleComputeFields()
Djapancal.cpp367 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR && in handleGetExtendedYear()
368 newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
369 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
382 int32_t year = internalGet(UCAL_EXTENDED_YEAR); // Gregorian year in handleComputeFields()
Dcoptccal.cpp61 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
62 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
89 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields()
Dbuddhcal.cpp69 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
70 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
89 int32_t y = internalGet(UCAL_EXTENDED_YEAR) - kBuddhistEraStart; in handleComputeFields()
Dethpccal.cpp84 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
120 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields()
Dpersncal.cpp188 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
189 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
228 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()
Dindiancal.cpp268 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
269 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
328 internalSet(UCAL_EXTENDED_YEAR, IndianYear); in handleComputeFields()
Dgregocal.cpp438 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields()
478 (internalGet(UCAL_EXTENDED_YEAR)==fGregorianCutoverYear) && in handleComputeJulianDay()
508 if(fIsGregorian && (internalGet(UCAL_EXTENDED_YEAR) == fGregorianCutoverYear)) { in handleComputeJulianDay()
509 int32_t gregShift = Grego::gregorianShift(internalGet(UCAL_EXTENDED_YEAR)); in handleComputeJulianDay()
595 int32_t year = internalGet(UCAL_EXTENDED_YEAR); in monthLength()
835 if(get(UCAL_EXTENDED_YEAR, status) == fGregorianCutoverYear) { in roll()
1181 int32_t yearField = UCAL_EXTENDED_YEAR; in handleGetExtendedYear()
1192 case UCAL_EXTENDED_YEAR: in handleGetExtendedYear()
1193 year = internalGet(UCAL_EXTENDED_YEAR, kEpochYear); in handleGetExtendedYear()
Dislamcal.cpp372 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
373 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
441 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()
Dhebrwcal.cpp598 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()
613 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
614 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
Dchnsecal.cpp186 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear()
187 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
660 internalSet(UCAL_EXTENDED_YEAR, year); in computeChineseFields()
Dcalendar.cpp1293 (1 << UCAL_EXTENDED_YEAR); in computeFields()
1423 int32_t eyear = fFields[UCAL_EXTENDED_YEAR]; in computeWeekFields()
1516 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields()
1655 case UCAL_EXTENDED_YEAR: in roll()
1934 case UCAL_EXTENDED_YEAR: in add()
2705 { UCAL_EXTENDED_YEAR, kResolveSTOP },
2950 bestStamp = newestStamp(UCAL_YEAR_WOY, UCAL_EXTENDED_YEAR, bestStamp); in computeJulianDay()
2974 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeJulianDay()
2977 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeJulianDay()
3328 … result = handleGetMonthLength(cal->get(UCAL_EXTENDED_YEAR, status), cal->get(UCAL_MONTH, status)); in getActualMaximum()
[all …]
Dudat.cpp67 UCAL_EXTENDED_YEAR, // UDAT_EXTENDED_YEAR_FIELD = 20
Dsmpdtfmt.cpp959 /*Yeu*/ UCAL_YEAR_WOY, UCAL_DOW_LOCAL, UCAL_EXTENDED_YEAR,
/external/icu4c/test/intltest/
Dcallimts.cpp285 UCAL_EXTENDED_YEAR, in doLimitsTest()
448 str.append((UnicodeString)"" + cal.get(UCAL_EXTENDED_YEAR, status) in ymdToString()
Dcaltest.cpp310 FIELD_NAME_STR( UCAL_EXTENDED_YEAR ); in fieldName()
454 case UCAL_EXTENDED_YEAR: in TestGenericAPI()
2123 adopt->set(UCAL_EXTENDED_YEAR, adopt->getActualMinimum(UCAL_EXTENDED_YEAR, status)); in doMinDateOfCalendar()
/external/icu4c/i18n/unicode/
Ducal.h395 UCAL_EXTENDED_YEAR, enumerator
/external/icu4c/tools/toolutil/
Dudbgutil.cpp104 FIELD_NAME_STR( LEN_UCAL, UCAL_EXTENDED_YEAR ),