Home
last modified time | relevance | path

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

/external/icu/icu4c/source/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.cpp267 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
268 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
327 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()
Dhebrwcal.cpp605 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()
620 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
621 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
Dislamcal.cpp581 if (newerField(UCAL_EXTENDED_YEAR, UCAL_YEAR) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear()
582 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
688 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()
Dcalendar.cpp1256 int32_t year = get(UCAL_EXTENDED_YEAR, status); in getRelatedYear()
1355 set(UCAL_EXTENDED_YEAR, year); in setRelatedYear()
1493 (1 << UCAL_EXTENDED_YEAR); in computeFields()
1623 int32_t eyear = fFields[UCAL_EXTENDED_YEAR]; in computeWeekFields()
1716 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields()
1855 case UCAL_EXTENDED_YEAR: in roll()
2134 case UCAL_EXTENDED_YEAR: in add()
2936 { UCAL_EXTENDED_YEAR, kResolveSTOP },
3193 bestStamp = newestStamp(UCAL_YEAR_WOY, UCAL_EXTENDED_YEAR, bestStamp); in computeJulianDay()
3217 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeJulianDay()
[all …]
Dchnsecal.cpp221 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear()
222 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
724 internalSet(UCAL_EXTENDED_YEAR, extended_year); in computeChineseFields()
Dudat.cpp68 UCAL_EXTENDED_YEAR, // UDAT_EXTENDED_YEAR_FIELD = 20
82 UCAL_EXTENDED_YEAR, // UDAT_RELATED_YEAR_FIELD = 34 (not an exact match)
Dsmpdtfmt.cpp1169 /*Yeu*/ UCAL_YEAR_WOY, UCAL_DOW_LOCAL, UCAL_EXTENDED_YEAR,
1180 /*r*/ UCAL_EXTENDED_YEAR,
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp286 UCAL_EXTENDED_YEAR, in doLimitsTest()
462 str.append((UnicodeString)"" + cal.get(UCAL_EXTENDED_YEAR, status) in ymdToString()
Dcaltest.cpp358 FIELD_NAME_STR( UCAL_EXTENDED_YEAR ); in fieldName()
502 case UCAL_EXTENDED_YEAR: in TestGenericAPI()
2174 adopt->set(UCAL_EXTENDED_YEAR, adopt->getActualMinimum(UCAL_EXTENDED_YEAR, status)); in doMinDateOfCalendar()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h395 UCAL_EXTENDED_YEAR, enumerator
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp107 FIELD_NAME_STR( LEN_UCAL, UCAL_EXTENDED_YEAR ),