Home
last modified time | relevance | path

Searched refs:UCAL_DAY_OF_YEAR (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcalendar.cpp1492 (1 << UCAL_DAY_OF_YEAR) | in computeFields()
1625 int32_t dayOfYear = fFields[UCAL_DAY_OF_YEAR]; in computeWeekFields()
1714 internalSet(UCAL_DAY_OF_YEAR, getGregorianDayOfYear()); in handleComputeFields()
1956 int32_t fdy = (dow - internalGet(UCAL_DAY_OF_YEAR) + 1) % 7; in roll()
1971 int32_t yearLen = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll()
1972 int32_t ldy = (yearLen - internalGet(UCAL_DAY_OF_YEAR) + dow) % 7; in roll()
1983 int32_t day_of_year = (internalGet(UCAL_DAY_OF_YEAR) + amount*7 - in roll()
1996 set(UCAL_DAY_OF_YEAR, day_of_year); in roll()
2000 case UCAL_DAY_OF_YEAR: in roll()
2005 double min2 = internalGet(UCAL_DAY_OF_YEAR)-1; in roll()
[all …]
Dgregocal.cpp437 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
510 if (bestField == UCAL_DAY_OF_YEAR) { in handleComputeJulianDay()
649 field != UCAL_DAY_OF_YEAR && in validateFields()
665 if (isSet(UCAL_DAY_OF_YEAR)) { in validateFields()
666 int32_t days = internalGet(UCAL_DAY_OF_YEAR); in validateFields()
871 int32_t isoDoy = internalGet(UCAL_DAY_OF_YEAR); in roll()
Dcoptccal.cpp94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); in handleComputeFields()
Dethpccal.cpp125 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); in handleComputeFields()
Dpersncal.cpp231 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dchnsecal.cpp284 { UCAL_DAY_OF_YEAR, kResolveSTOP },
742 internalSet(UCAL_DAY_OF_YEAR, days - theNewYear + 1); in computeChineseFields()
Dindiancal.cpp331 internalSet(UCAL_DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
Dhebrwcal.cpp608 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dislamcal.cpp691 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dudat.cpp58 UCAL_DAY_OF_YEAR, // UDAT_DAY_OF_YEAR_FIELD = 10
Dsmpdtfmt.cpp1166 /*EDF*/ UCAL_DAY_OF_WEEK, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK_IN_MONTH,
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp199 int32_t maxDOY = cal.getMaximum(UCAL_DAY_OF_YEAR); in doTheoreticalLimitsTest()
200 int32_t lmaxDOW = cal.getLeastMaximum(UCAL_DAY_OF_YEAR); in doTheoreticalLimitsTest()
283 UCAL_DAY_OF_YEAR, in doLimitsTest()
410 greg.add(UCAL_DAY_OF_YEAR, 1, status); in doLimitsTest()
Ddtfmrgts.cpp367 if ((cal->get(UCAL_DAY_OF_YEAR, status) != 40) || failure(status, "cal->get")) in Test4060212()
368 errln((UnicodeString) "Fail: Got " + cal->get(UCAL_DAY_OF_YEAR, status) + in Test4060212()
384 if ((cal->get(UCAL_DAY_OF_YEAR, status) != 40) || failure(status, "cal->get")) in Test4060212()
385 errln((UnicodeString) "Fail: Got " + cal->get(UCAL_DAY_OF_YEAR, status) + in Test4060212()
Dcalregts.cpp143 cal->set(UCAL_DAY_OF_YEAR, 1); in test4100311()
969 cal->set(UCAL_DAY_OF_YEAR, 1); in test41003112()
972 if (cal->get(UCAL_DAY_OF_YEAR, status) != 1) in test41003112()
2109 int32_t doy = cal.get(UCAL_DAY_OF_YEAR, status); in TestJ81()
2151 cal.set(UCAL_DAY_OF_YEAR, DOY_DATA[i+2]); in TestJ81()
2179 { UCAL_DAY_OF_YEAR, ADD|ROLL, PLUS|MINUS, 2, -ONE_DAY, +1*ONE_DAY }, in TestJ81()
2494 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
2507 d = cal->fieldDifference(date2000, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
Dcaltest.cpp345 FIELD_NAME_STR( UCAL_DAY_OF_YEAR ); in fieldName()
1406 UCAL_DAY_OF_YEAR, 295
1693 if(cal->get(UCAL_DAY_OF_YEAR, errorCode) != tstres->get(UCAL_DAY_OF_YEAR, errorCode)) { in doYEAR_WOYLoop()
1695 logln((UnicodeString)"Expected "+cal->get(UCAL_DAY_OF_YEAR, errorCode)); in doYEAR_WOYLoop()
1696 logln((UnicodeString)"Got "+tstres->get(UCAL_DAY_OF_YEAR, errorCode)); in doYEAR_WOYLoop()
/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c307 if ((ucal_get(cal, UCAL_DAY_OF_YEAR, &status) != 40)){ in Test4060212()
308 log_err("Fail: Got %d Expected 40\n", ucal_get(cal, UCAL_DAY_OF_YEAR, &status)); in Test4060212()
Dccaltst.c861 ucal_set(cal, UCAL_DAY_OF_YEAR, 1); in TestFieldGetSet()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h260 UCAL_DAY_OF_YEAR, enumerator
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp94 FIELD_NAME_STR( LEN_UCAL, UCAL_DAY_OF_YEAR ),