Home
last modified time | relevance | path

Searched refs:UCAL_WEEK_OF_YEAR (Results 1 – 11 of 11) sorted by relevance

/external/icu4c/i18n/
Dgregocal.cpp477 …if((bestField == UCAL_WEEK_OF_YEAR) && // if we are doing WOY calculations, we are counting relat… in handleComputeJulianDay()
859 case UCAL_WEEK_OF_YEAR: { in roll()
867 int32_t woy = get(UCAL_WEEK_OF_YEAR, status); in roll()
898 set(UCAL_WEEK_OF_YEAR, woy); in roll()
1209 … = handleGetExtendedYearFromWeekFields(internalGet(UCAL_YEAR_WOY), internalGet(UCAL_WEEK_OF_YEAR)); in handleGetExtendedYear()
1213 __FILE__, __LINE__,internalGet(UCAL_YEAR_WOY),internalGet(UCAL_WEEK_OF_YEAR),year); in handleGetExtendedYear()
Dcalendar.cpp1475 fFields[UCAL_WEEK_OF_YEAR] = woy; in computeWeekFields()
1743 case UCAL_WEEK_OF_YEAR: in roll()
1948 case UCAL_WEEK_OF_YEAR: in add()
2667 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
2670 { UCAL_WEEK_OF_YEAR, UCAL_DOW_LOCAL, kResolveSTOP },
2675 …{ kResolveRemap | UCAL_WEEK_OF_YEAR, UCAL_YEAR_WOY, kResolveSTOP }, // if YEAR_WOY is set, calc …
2679 { UCAL_WEEK_OF_YEAR, kResolveSTOP },
2706 … { UCAL_YEAR_WOY, UCAL_WEEK_OF_YEAR, kResolveSTOP }, // YEAR_WOY is useless without WEEK_OF_YEAR
2972 if (bestField == UCAL_WEEK_OF_YEAR) { in handleComputeJulianDay()
3068 … if(bestField == UCAL_WEEK_OF_YEAR) { // ------------------------------------- WOY ------------- in handleComputeJulianDay()
[all …]
Dchnsecal.cpp242 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
245 { UCAL_WEEK_OF_YEAR, UCAL_DOW_LOCAL, kResolveSTOP },
253 { UCAL_WEEK_OF_YEAR, kResolveSTOP },
Dudat.cpp59 UCAL_WEEK_OF_YEAR, // UDAT_WEEK_OF_YEAR_FIELD = 12
Dsmpdtfmt.cpp957 /*wWa*/ UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_AM_PM,
/external/icu4c/test/intltest/
Dcaltest.cpp294 FIELD_NAME_STR( UCAL_WEEK_OF_YEAR ); in fieldName()
798 c->set(UCAL_WEEK_OF_YEAR, 1); in TestDisambiguation765()
804 c->set(UCAL_WEEK_OF_YEAR, 1); in TestDisambiguation765()
809 c->set(UCAL_WEEK_OF_YEAR, 10); in TestDisambiguation765()
1508 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest()
1542 int32_t woy2 = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest()
1634 tstres->set(UCAL_WEEK_OF_YEAR, cal->get(UCAL_WEEK_OF_YEAR, errorCode)); in doYEAR_WOYLoop()
1768 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY()
1788 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
1791 t_woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY()
[all …]
Dcalregts.cpp1009 int32_t actWOY = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1040 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1055 testCal->set(UCAL_WEEK_OF_YEAR, DATA[j+1+i]); in test4103271()
1119 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1138 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1184 testCal->add(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1186 testCal->roll(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1207 testCal->add(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
1209 testCal->roll(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
2008 int32_t actWOY = cal.get(UCAL_WEEK_OF_YEAR, status); in Test4197699()
[all …]
Dcallimts.cpp200 int32_t maxWOY = cal.getMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
201 int32_t lmaxWOY = cal.getLeastMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
279 UCAL_WEEK_OF_YEAR, in doLimitsTest()
/external/icu4c/i18n/unicode/
Ducal.h229 UCAL_WEEK_OF_YEAR, enumerator
/external/icu4c/test/cintltst/
Dccaltst.c756 …|| ucal_get(cal, UCAL_WEEK_OF_MONTH, &status)!=2 || ucal_get(cal, UCAL_WEEK_OF_YEAR, &status)!= 11) in TestFieldGetSet()
824 ucal_set(cal, UCAL_WEEK_OF_YEAR, 1); in TestFieldGetSet()
829 ucal_set(cal, UCAL_WEEK_OF_YEAR, 10); in TestFieldGetSet()
850 if(!ucal_isSet(cal, UCAL_WEEK_OF_YEAR)) in TestFieldGetSet()
854 ucal_clearField(cal, UCAL_WEEK_OF_YEAR); in TestFieldGetSet()
855 if(ucal_isSet(cal, UCAL_WEEK_OF_YEAR)) in TestFieldGetSet()
/external/icu4c/tools/toolutil/
Dudbgutil.cpp88 FIELD_NAME_STR( LEN_UCAL, UCAL_WEEK_OF_YEAR ),