Searched defs:formats (Results 1 - 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | ChoiceFormatTest.java | 33 String[] formats = new String[] { "Less than one", "one", field in class:ChoiceFormatTest 36 ChoiceFormat f1 = new ChoiceFormat(limits, formats); 146 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 158 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 182 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 236 assertTrue("Should be equals--same limits, same formats", 301 String[] orgFormats = (String[]) formats.clone(); 303 assertTrue("Wrong formats", f.equals(formats));
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | ChoiceFormat.java | 71 * When creating a <code>ChoiceFormat</code>, you must specify an array of formats 77 * <em>formats</em> = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"} 80 * <em>formats</em> = {"no files", "one file", "many files"}<br> 157 * Choice formats are not synchronized. 307 * Constructs with limits and corresponding formats based on the pattern. 315 * Constructs with the limits and the corresponding formats. 318 public ChoiceFormat(double[] limits, String[] formats) { argument 319 setChoices(limits, formats); 330 * @param formats are the formats yo 336 setChoices(double[] limits, String formats[]) argument [all...] |
H A D | MessageFormat.java | 59 * <code>MessageFormat</code> takes a set of objects, formats them, then 330 * Message formats are not synchronized. 530 Format fmt = formats[i]; 586 * Sets the formats to use for the values passed into 591 * The order of formats in <code>newFormats</code> thus corresponds to 600 * corresponding new format is ignored. If fewer formats are provided 601 * than needed, then only the formats for argument indices less 604 * @param newFormats the new formats to use 612 formats[i] = newFormats[j]; 618 * Sets the formats t 1192 private Format[] formats = new Format[INITIAL_FORMATS]; field in class:MessageFormat [all...] |
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | HelloExtensions.java | 56 * . SupportedEllipticPointFormatsExtension: the ECC supported point formats 625 private final byte[] formats; field in class:SupportedEllipticPointFormatsExtension 627 private SupportedEllipticPointFormatsExtension(byte[] formats) { argument 629 this.formats = formats; 635 formats = s.getBytes8(); 639 for (int format : formats) { 652 return 5 + formats.length; 657 s.putInt16(formats.length + 1); 658 s.putBytes8(formats); [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | ResourceBundle.java | 195 * non-standard resource bundle formats, change the search strategy, or 1053 * control.getFormats} method is called to get resource bundle formats 1059 * and must not be used for application-defined formats. Other strings 1060 * designate application-defined formats.</li> 1072 * candidate locales and formats until the <code>newBundle</code> method 1076 * <code>Locale("")</code> and the formats are <code>"java.class"</code> 1284 List<String> formats = control.getFormats(baseName); 1285 if (!isKnownControl && !checkList(formats)) { 1298 bundle = findBundle(cacheKey, candidateLocales, formats, 0, control, baseBundle); 1349 List<String> formats, 1347 findBundle(CacheKey cacheKey, List<Locale> candidateLocales, List<String> formats, int index, Control control, ResourceBundle baseBundle) argument 1424 loadBundle(CacheKey cacheKey, List<String> formats, Control control, boolean reload) argument 2033 getControl(List<String> formats) argument 2068 getNoFallbackControl(List<String> formats) argument 2880 private final List<String> formats; field in class:ResourceBundle.SingleFormatControl 2882 SingleFormatControl(List<String> formats) argument 2904 NoFallbackControl(List<String> formats) argument [all...] |
Completed in 164 milliseconds