Home
last modified time | relevance | path

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

/external/icu/icu4c/source/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.cpp1675 fFields[UCAL_WEEK_OF_YEAR] = woy; in computeWeekFields()
1943 case UCAL_WEEK_OF_YEAR: in roll()
2148 case UCAL_WEEK_OF_YEAR: in add()
2898 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
2901 { UCAL_WEEK_OF_YEAR, UCAL_DOW_LOCAL, kResolveSTOP },
2906 …{ kResolveRemap | UCAL_WEEK_OF_YEAR, UCAL_YEAR_WOY, kResolveSTOP }, // if YEAR_WOY is set, calc …
2910 { UCAL_WEEK_OF_YEAR, kResolveSTOP },
2937 … { UCAL_YEAR_WOY, UCAL_WEEK_OF_YEAR, kResolveSTOP }, // YEAR_WOY is useless without WEEK_OF_YEAR
3215 if (bestField == UCAL_WEEK_OF_YEAR) { in handleComputeJulianDay()
3311 … if(bestField == UCAL_WEEK_OF_YEAR) { // ------------------------------------- WOY ------------- in handleComputeJulianDay()
[all …]
Dchnsecal.cpp278 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
281 { UCAL_WEEK_OF_YEAR, UCAL_DOW_LOCAL, kResolveSTOP },
289 { UCAL_WEEK_OF_YEAR, kResolveSTOP },
Dudat.cpp60 UCAL_WEEK_OF_YEAR, // UDAT_WEEK_OF_YEAR_FIELD = 12
Dsmpdtfmt.cpp1153 /*wWa*/ UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_AM_PM,
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1010 int32_t actWOY = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1041 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1056 testCal->set(UCAL_WEEK_OF_YEAR, DATA[j+1+i]); in test4103271()
1120 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1139 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1185 testCal->add(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1187 testCal->roll(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1208 testCal->add(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
1210 testCal->roll(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
2009 int32_t actWOY = cal.get(UCAL_WEEK_OF_YEAR, status); in Test4197699()
[all …]
Dcaltest.cpp342 FIELD_NAME_STR( UCAL_WEEK_OF_YEAR ); in fieldName()
849 c->set(UCAL_WEEK_OF_YEAR, 1); in TestDisambiguation765()
855 c->set(UCAL_WEEK_OF_YEAR, 1); in TestDisambiguation765()
860 c->set(UCAL_WEEK_OF_YEAR, 10); in TestDisambiguation765()
1559 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest()
1593 int32_t woy2 = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest()
1685 tstres->set(UCAL_WEEK_OF_YEAR, cal->get(UCAL_WEEK_OF_YEAR, errorCode)); in doYEAR_WOYLoop()
1819 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY()
1839 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
1842 t_woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY()
[all …]
Dcallimts.cpp201 int32_t maxWOY = cal.getMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
202 int32_t lmaxWOY = cal.getLeastMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
280 UCAL_WEEK_OF_YEAR, in doLimitsTest()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h229 UCAL_WEEK_OF_YEAR, enumerator
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c784 …|| ucal_get(cal, UCAL_WEEK_OF_MONTH, &status)!=2 || ucal_get(cal, UCAL_WEEK_OF_YEAR, &status)!= 11) in TestFieldGetSet()
852 ucal_set(cal, UCAL_WEEK_OF_YEAR, 1); in TestFieldGetSet()
857 ucal_set(cal, UCAL_WEEK_OF_YEAR, 10); in TestFieldGetSet()
878 if(!ucal_isSet(cal, UCAL_WEEK_OF_YEAR)) in TestFieldGetSet()
882 ucal_clearField(cal, UCAL_WEEK_OF_YEAR); in TestFieldGetSet()
883 if(ucal_isSet(cal, UCAL_WEEK_OF_YEAR)) in TestFieldGetSet()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp89 FIELD_NAME_STR( LEN_UCAL, UCAL_WEEK_OF_YEAR ),