Home | History | Annotate | Download | only in intltest

Lines Matching refs:format

347     SimpleDateFormat *format = new SimpleDateFormat(findPattern, deLocale, status);
357 delete format;
360 format->setTimeZone(*zone);
363 dateReturned = format->format(sampleDate, dateReturned, status);
377 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status));
379 dateReturned = format->format(sampleDate, dateReturned, status);
384 delete format;
387 format = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull,
389 format->setTimeZone(*zone);
391 pattern = format->toPattern(pattern);
393 dateReturned = format->format(sampleDate, dateReturned, status);
396 errln("ERROR: Simple test uses full date format.");
402 format->applyPattern(newPattern);
404 dateReturned = format->format(sampleDate, dateReturned, status);
464 delete format;
484 rDate = sdf.format(testDate1, rDate);
509 rDate = sdf.format(testDate1, rDate);
535 errln(UnicodeString("\nERROR: Test EN time format Got: ") + bPattern +
570 resultDate = sdf.format(testDate, resultDate);
613 resultDate = enFormat->format(testDate, resultDate);
730 // use it to format (or parse)
732 formatted = formatter.format(Calendar::getNow(), formatted, status);
737 formatted = formatter.format(testDate, formatted, status);