Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dcaltest.cpp355 FIELD_NAME_STR( UCAL_DAY_OF_WEEK ); in fieldName()
720 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); in dowTest()
722 int32_t min = cal->getMinimum(UCAL_DAY_OF_WEEK); in dowTest()
723 int32_t max = cal->getMaximum(UCAL_DAY_OF_WEEK); in dowTest()
802 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
808 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
816 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
824 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
830 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
838 c->set(UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestDisambiguation765()
[all …]
Dcalregts.cpp382 cal->set(UCAL_DAY_OF_WEEK, 0); in test4051765()
529 if (cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SATURDAY || in test4070502()
530 cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SUNDAY) in test4070502()
551 int32_t wd = cal->get(UCAL_DAY_OF_WEEK, status); in getAssociatedDate()
587 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); in dowTest()
588 int32_t min = cal->getMinimum(UCAL_DAY_OF_WEEK); in dowTest()
589 int32_t max = cal->getMaximum(UCAL_DAY_OF_WEEK); in dowTest()
604 if(cal->getActualMinimum(UCAL_DAY_OF_WEEK, status) != min) { in dowTest()
613 if(((Calendar*)cal)->getActualMinimum(UCAL_DAY_OF_WEEK, status) != min) { in dowTest()
848 int32_t dow = a->get(UCAL_DAY_OF_WEEK, status); in test4095407()
[all …]
Dcalcasts.cpp67 checkField(cal, UCAL_DAY_OF_WEEK, cases[i].dayOfWeek,status); in doTestCases()
79 cal->set(UCAL_DAY_OF_WEEK, cases[i].dayOfWeek); in doTestCases()
Dtzregts.cpp372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); in checkCalendar314()
473 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in Test4126678()
Dcallimts.cpp234 int32_t nDOW = cal.getMaximum(UCAL_DAY_OF_WEEK); in doTheoreticalLimitsTest()
Dtzbdtest.cpp216 gc->get(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), in verifyDST()
Dtzrulets.cpp299 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in TestSimpleRuleBasedTimeZone()
338 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in TestSimpleRuleBasedTimeZone()
Ddtfmrgts.cpp1377 cal->set(UCAL_DAY_OF_WEEK, test.dow); in Test1684()
Dtztest.cpp353 …gc->get(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), 0, status) != - 7 * millis… in TestVariousAPI518()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp1574 internalSet(UCAL_DAY_OF_WEEK,dow); in computeGregorianAndDOWFields()
1622 int32_t dayOfWeek = fFields[UCAL_DAY_OF_WEEK]; in computeWeekFields()
1891 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1949 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
2018 case UCAL_DAY_OF_WEEK: in roll()
2028 leadDays -= (field == UCAL_DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll()
2159 case UCAL_DAY_OF_WEEK: in add()
2589 UCalendarDaysOfWeek dayOfWeek = (UCalendarDaysOfWeek)get(UCAL_DAY_OF_WEEK, status); in isWeekend()
2679 case UCAL_DAY_OF_WEEK: in getLimit()
2898 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
[all …]
Dchnsecal.cpp280 { UCAL_WEEK_OF_YEAR, UCAL_DAY_OF_WEEK, kResolveSTOP },
281 { UCAL_WEEK_OF_MONTH, UCAL_DAY_OF_WEEK, kResolveSTOP },
282 { UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_DAY_OF_WEEK, kResolveSTOP },
294 { kResolveRemap | UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_DAY_OF_WEEK, kResolveSTOP },
Dsmpdtfmt.cpp1174 /*EDF*/ UCAL_DAY_OF_WEEK, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK_IN_MONTH,
1594 value = cal.get(UCAL_DAY_OF_WEEK, status); in subFormat()
1631 value = cal.get(UCAL_DAY_OF_WEEK, status); in subFormat()
2767 if (field == UCAL_DAY_OF_WEEK) i = 1; in matchString()
3235 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
3241 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
3247 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
3253 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
3275 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
3280 if ((newStart = matchString(text, start, UCAL_DAY_OF_WEEK, in subParse()
[all …]
Ddtitvinf.cpp93 lrgDiffCalUnit == UCAL_DAY_OF_WEEK ) { in setIntervalPattern()
670 case UCAL_DAY_OF_WEEK: in calendarFieldToIntervalIndex()
Dgregocal.cpp894 int32_t lastRelDow = (lastDoy - isoDoy + internalGet(UCAL_DAY_OF_WEEK) - in roll()
976 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
Dudat.cpp59 UCAL_DAY_OF_WEEK, // UDAT_DAY_OF_WEEK_FIELD = 9
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c791 …else if(ucal_get(cal, UCAL_DAY_OF_WEEK_IN_MONTH, &status)!=2 || ucal_get(cal, UCAL_DAY_OF_WEEK, &s… in TestFieldGetSet()
807 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
813 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
821 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
833 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
839 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
846 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
859 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
864 ucal_set(cal, UCAL_DAY_OF_WEEK, UCAL_TUESDAY); in TestFieldGetSet()
1135 val = ucal_get(cal, UCAL_DAY_OF_WEEK, &status); in TestGetLimits()
[all …]
/external/icu/icu4c/source/samples/cal/
Dcal.c478 firstday = ucal_get(c, UCAL_DAY_OF_WEEK, status); in print_month()
626 left_firstday = ucal_get(left_cal, UCAL_DAY_OF_WEEK, status); in print_year()
627 right_firstday = ucal_get(right_cal, UCAL_DAY_OF_WEEK, status); in print_year()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h278 UCAL_DAY_OF_WEEK, enumerator
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp94 FIELD_NAME_STR( LEN_UCAL, UCAL_DAY_OF_WEEK ),