Home | History | Annotate | Download | only in intltest

Lines Matching refs:pos

288         FieldPosition pos(0);
289 sdf->format(today,fmtOffset, pos);
556 FieldPosition pos(i);
558 df->format(aug13, buf, pos);
560 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), field);
702 ParsePosition pos(0);
703 UDate date2 = formatter->parse(now, pos);
704 if (date2 == 0) then = UnicodeString("Parse stopped at ") + pos.getIndex();
830 ParsePosition pos(0);
831 UDate myDate = formatter->parse(dateString, pos);
837 pos = ParsePosition(0);
838 myDate = formatter->parse(dateString, pos);
1087 "\" pos=" + parsePosition.getIndex() + " " +
1310 ParsePosition pos;
1347 pos.setIndex(0);
1348 date->parse(str, *cal, pos);
1349 if (pos.getIndex() != str.length()) {
1351 pos.getIndex());
1357 pos.setIndex(0);
1358 time->parse(str, *cal, pos);
1359 if (pos.getIndex() != str.length()) {
1361 pos.getIndex());
1481 FieldPosition pos;
1482 f.format((UDate)0, out, pos);
1498 ParsePosition pos(0);
1499 UDate d2 = fmt.parse(str, pos);
2279 FieldPosition pos(0);
2328 full->format(*c, expect, pos); // expected = normal full
2331 fullrelative ->format(*c, result, pos);
2332 en_full ->format(*c, normalResult, pos);
2349 en_full->format(*c, origFormat, pos);
3259 FieldPosition pos(0);
3260 fmt.format(*cal,result,pos);
3769 FieldPosition pos(0);
3771 sdf->format(thedate,result,pos);
3784 usf->format(parsedate,parsedres,pos);
3785 usf->format(thedate,expres,pos);
3802 ParsePosition pos(0);
3803 sdf->parse(inText, pos);
3804 if (pos.getIndex() != 3) {
3805 errln((UnicodeString)"FAIL: Incorrect output parse position: actual=" + pos.getIndex() + " expected=3");
3850 ParsePosition pos(startPos);
3851 //UDate d = sdf->parse(input, pos);
3852 (void)sdf->parse(input, pos);
3854 if (pos.getIndex() != resPos) {
3856 + pos.getIndex() + ", expected - " + resPos);
3978 ", string \"" + result + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->day + ", got pos " +
4042 FieldPosition pos(0);
4043 sdmft->format(*cal, result, pos);
4129 ", string \"" + result + "\", expected " + caftItemPtr->year +"-"+caftItemPtr->month+"-"+caftItemPtr->day + ", got pos " +