Lines Matching refs:formatStr
958 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local
974 MessageFormat msg( formatStr, err); in testSetLocale()
1003 msg.applyPattern( formatStr, err); in testSetLocale()
1043 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local
1047 MessageFormat msg( formatStr, err); in testFormat()
1165 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local
1168 MessageFormat msg( formatStr, err); in testAdopt()
1169 MessageFormat msgCmp( formatStr, err); in testAdopt()
1238 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
1239 assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove())); in testAdopt()
1281 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
1282 assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove())); in testAdopt()
1332 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
1333 assertEquals("msg.toPattern()", formatStr, msg.toPattern(patAct.remove())); in testAdopt()
1366 UnicodeString formatStr("Hello World on {0,date,full}", ""); in _testCopyConstructor2() local
1373 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2()