Home
last modified time | relevance | path

Searched refs:setFormat (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DMessageFormatTest.java116 f1.setFormat(0, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
117 f1.setFormat(1, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
118 f1.setFormat(2, NumberFormat.getInstance()); in test_setFormatILjava_text_Format()
119 f1.setFormat(3, new ChoiceFormat("0#off|1#on")); in test_setFormatILjava_text_Format()
120 f1.setFormat(4, new ChoiceFormat("1#few|2#ok|3#a lot")); in test_setFormatILjava_text_Format()
121 f1.setFormat(5, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
142 f1.setFormat(-1, DateFormat.getDateInstance()); in test_setFormatILjava_text_Format()
147 f1.setFormat(f1.getFormats().length, DateFormat.getDateInstance()); in test_setFormatILjava_text_Format()
533 clone.setFormat(0, DateFormat.getInstance()); in test_clone()
548 format1.setFormat(0, DateFormat.getTimeInstance()); in test_equalsLjava_lang_Object()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCertificateTest.java318 public void setFormat(String myFormat) { in setFormat() method in CertificateTest.MyModifiablePublicKey
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java190 MESSAGE.setFormat(0, DATEFORM);
191 MESSAGE.setFormat(1, DATEFORM);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java615 public void setFormat(String myFormat) { in setFormat() method in X509CertificateTest.MyModifiablePublicKey
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java671 void setFormat(String format) { in setFormat() method in ResourceBundle.CacheKey
1511 cacheKey.setFormat(format); in loadBundle()
/libcore/ojluni/src/main/java/java/text/
DMessageFormat.java692 public void setFormat(int formatElementIndex, Format newFormat) { in setFormat() method in MessageFormat