Lines Matching defs:formatStr
992 //UnicodeString formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}.";
993 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}.";
1008 MessageFormat msg( formatStr, err);
1039 msg.applyPattern( formatStr, err);
1078 //UnicodeString formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}.";
1079 UnicodeString formatStr = "On {0,date}, it began.";
1083 MessageFormat msg( formatStr, err);
1201 UnicodeString formatStr("{0,date},{1},{2,number}", "");
1204 MessageFormat msg( formatStr, err);
1205 MessageFormat msgCmp( formatStr, err);
1278 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove()));
1280 // assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove()));
1326 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove()));
1328 // assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove()));
1378 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove()));
1380 // assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove()));
1413 UnicodeString formatStr("Hello World on {0,date,full}", "");
1420 MessageFormat* fmt1 = new MessageFormat( formatStr, status );