Home | History | Annotate | Download | only in intltest

Lines Matching refs:format

34     driver = TestDataModule::getTestDataModule("format", *this, status);
67 dataerrln("format/DataDriven*Test data (format.res) not initialized!");
156 DateFormat *format = NULL;
164 format = new SimpleDateFormat(pattern, loc, status);
174 format = DateFormat::createDateTimeInstance((DateFormat::EStyle)styleSet.getDateStyle(), (DateFormat::EStyle)styleSet.getTimeStyle(), loc);
175 if(format == NULL ) {
189 format->setTimeZone(*tz);
249 format->format(fromDate, output, pos, status);
256 format->format(*cal, output, pos);
259 // check erro result from 'format'
261 errln("case %d: could not format(): %s", n, u_errorName(status)); // TODO: use 'pos'
264 // errln("WARNING: case %d: format's pos returned (0,0) - error ??", n);
268 logln(caseString+": format: SUCCESS! "+UnicodeString("expect=output=")+output);
272 errln(caseString+": format: output!=expectStr, got " + *udbg_escape(output, &result) + " expected " + *udbg_escape(expectStr, &result2));
277 format->parse(expectStr,*cal,pos);
288 basicFmt.format(fromDate,expectDateStr);
289 basicFmt.format(gotDate,gotDateStr);
320 delete format;
327 //Format *cal= NULL;