Home
last modified time | relevance | path

Searched refs:UCAL_HOUR (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp170 logln(UnicodeString("HOUR=") + cal->get(UCAL_HOUR, status)); //prints 0 in test4074758()
213 cal1->set(UCAL_HOUR, 1); in Test9019()
214 cal2->set(UCAL_HOUR,2); in Test9019()
272 cl->get(UCAL_HOUR, status); in test4031502()
282 if (cal->get(UCAL_HOUR, status) != 5 || U_FAILURE(status)) { in test4031502()
288 ": HOUR = " + cal->get(UCAL_HOUR,status)); in test4031502()
467 gc->set(UCAL_HOUR, 0); in test4059654()
665 foo1->get(UCAL_HOUR, status), in test4073929()
674 foo1->get(UCAL_HOUR, status), in test4073929()
683 foo1->get(UCAL_HOUR, status), in test4073929()
[all …]
Dcalcasts.cpp68 checkField(cal, UCAL_HOUR, cases[i].hour,status); in doTestCases()
80 cal->set(UCAL_HOUR, cases[i].hour); in doTestCases()
Dcaltest.cpp358 FIELD_NAME_STR( UCAL_HOUR ); in fieldName()
602 ((Calendar *)cal)->roll(UCAL_HOUR, (int32_t)100, status); in TestGenericAPI()
603 ((Calendar *)cal)->clear(UCAL_HOUR); in TestGenericAPI()
1097 temp->set(UCAL_HOUR, hr); in TestAddRollExtensive()
1165 c->get(UCAL_HOUR, status) != hr || in check520()
1176 " " + c->get(UCAL_HOUR, status) + ":" + in check520()
1229 g2->set(UCAL_HOUR, 12, status); in TestFieldSet4781()
Dtzregts.cpp477 (cal->get(UCAL_HOUR, status) * 60) * 60) * 1000) - in Test4126678()
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp331 } else if ( fromCalendar.get(UCAL_HOUR, status) != in formatImpl()
332 toCalendar.get(UCAL_HOUR, status) ) { in formatImpl()
333 field = UCAL_HOUR; in formatImpl()
351 …UBool fromToOnSameDay = (field==UCAL_AM_PM || field==UCAL_HOUR || field==UCAL_MINUTE || field==UCA… in formatImpl()
768 concatSingleDate2TimeInterval(*fDateTimeFormat, datePattern, UCAL_HOUR, status); in initializePattern()
1029 setIntervalPattern(UCAL_HOUR, skeleton, bestSkeleton, differenceInfo); in setSeparateDateTimePtn()
1175 fInfo->getIntervalPattern(*bestSkeleton, UCAL_HOUR, pattern,status); in setIntervalPattern()
Ddtitvinf.cpp91 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern()
338 return UCAL_HOUR; in validateAndProcessPatternLetter()
677 case UCAL_HOUR: in calendarFieldToIntervalIndex()
Dcalendar.cpp1547 fFields[UCAL_HOUR] = millisInDay % 12; in computeFields()
1769 case UCAL_HOUR: in roll()
2166 case UCAL_HOUR: in add()
2681 case UCAL_HOUR: in getLimit()
3098 … int32_t hourStamp = (fStamp[UCAL_HOUR] > fStamp[UCAL_AM_PM])?fStamp[UCAL_HOUR]:fStamp[UCAL_AM_PM]; in computeMillisInDay()
3110 millisInDay += internalGet(UCAL_HOUR); in computeMillisInDay()
3592 case UCAL_HOUR: in getActualMaximum()
Dsmpdtfmt.cpp1176 /*hKz*/ UCAL_HOUR, UCAL_HOUR, UCAL_ZONE_OFFSET,
1678 …zeroPaddingNumber(currentNumberFormat,appendTo, cal.getLeastMaximum(UCAL_HOUR) + 1, count, maxIntC… in subFormat()
2297 if (!cal.isSet(UCAL_HOUR) && !cal.isSet(UCAL_HOUR_OF_DAY)) { in parse()
2319 hourOfDay = cal.get(UCAL_HOUR, status); in parse()
3317 if (value == cal.getLeastMaximum(UCAL_HOUR)+1) in subParse()
3323 cal.set(UCAL_HOUR, value); in subParse()
Dudat.cpp65 UCAL_HOUR, // UDAT_HOUR1_FIELD = 15
66 UCAL_HOUR, // UDAT_HOUR0_FIELD = 16
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c789 ucal_get(cal, UCAL_DATE, &status)!=12 || ucal_get(cal, UCAL_HOUR, &status)!=5) in TestFieldGetSet()
1036 ucal_set(cal, UCAL_HOUR, hr); in TestAddRollExtensive()
1382 ucal_get(c, UCAL_HOUR, &status) != hr || in checkDateTime()
1391 ucal_get(c, UCAL_HOUR, &status), in checkDateTime()
1479 ucal_get(c, UCAL_HOUR, &status) == hour && in verify2()
1900 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
1925 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h325 UCAL_HOUR, enumerator
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp97 FIELD_NAME_STR( LEN_UCAL, UCAL_HOUR ),