Home | History | Annotate | Download | only in intltest

Lines Matching refs:format

156 // ======= Test various format() methods
159 logln("Testing various format() methods");
168 res1 = fr->format(d, res1, pos1, status);
170 errln("ERROR: format() failed (French)");
174 res2 = it->format(d, res2, pos2);
177 res3 = de->format(d, res3);
273 * Test hiding of parse() and format() APIs in the Format hierarchy.
291 // DateFormat calling Format API
296 dateFmt->format(dateObj, str, status);
297 dateFmt->format(dateObj, str, fpos, status);
304 // SimpleDateFormat calling Format & DateFormat API
310 // Format API
311 sdf.format(dateObj, str, status);
312 sdf.format(dateObj, str, fpos, status);
314 sdf.format((UDate)0, str, fpos);
315 sdf.format((UDate)0, str);
324 // NumberFormat calling Format API
330 fmt->format(numObj, str, status);
331 fmt->format(numObj, str, fpos, status);
338 // DecimalFormat calling Format & NumberFormat API
344 // Format API
345 fmt.format(numObj, str, status);
346 fmt.format(numObj, str, fpos, status);
348 fmt.format(2.71828, str);
349 fmt.format((int32_t)1234567, str);
350 fmt.format(1.41421, str, fpos);
351 fmt.format((int32_t)9876543, str, fpos);
359 // ChoiceFormat calling Format & NumberFormat API
364 // Format API
365 fmt.format(numObj, str, status);
366 fmt.format(numObj, str, fpos, status);
368 fmt.format(2.71828, str);
369 fmt.format((int32_t)1234567, str);
370 fmt.format(1.41421, str, fpos);
371 fmt.format((int32_t)9876543, str, fpos);
376 // MessageFormat calling Format API
381 // Format API
383 // We're testing name hiding, not the format method.
384 fmt.format(dateObj, str, status);
385 fmt.format(dateObj, str, fpos, status);