Searched refs:formatted (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
H A DDontCareFieldPosition.java38 public void formatted(Format.Field attr, Object value, int start,
41 public void formatted(int fieldID, Format.Field attr, Object value,
H A DCharacterIteratorFieldDelegate.java38 * Array of AttributeStrings. Whenever <code>formatted</code> is invoked
40 * attributedStrings. Subsequent invocations of <code>formatted</code>
56 public void formatted(Format.Field attr, Object value, int start, int end, method in class:CharacterIteratorFieldDelegate
95 public void formatted(int fieldID, Format.Field attr, Object value, method in class:CharacterIteratorFieldDelegate
97 formatted(attr, value, start, end, buffer);
102 * to iterate over the resulting formatted String.
H A DFieldPosition.java43 * and its subclasses to identify fields in formatted output. Fields can
54 * field within the formatted output with two indices: the index
63 * formatted output (such as the position of a field).
67 * formatted string use the <code>Format</code> method
280 * is true, and <code>formatted</code> is invoked, the begin/end
285 public void formatted(Format.Field attr, Object value, int start, method in class:FieldPosition.Delegate
294 public void formatted(int fieldID, Format.Field attr, Object value, method in class:FieldPosition.Delegate
H A DFormat.java55 * any string formatted by its <code>format</code> method. However, there may
111 * fields in the formatted output. These constants are used to create a FieldPosition
113 * position in the formatted result. These constants should be named
170 * in the formatted text
172 * with formatted text appended
202 * @return AttributedCharacterIterator describing the formatted value.
366 * storage of the individual sections of the formatted String for
378 * Notified when a particular region of the String is formatted. This
386 * @param buffer Contains current formatted value, receiver should
389 public void formatted(Forma method in interface:Format.FieldDelegate
403 public void formatted(int fieldID, Format.Field attr, Object value, method in interface:Format.FieldDelegate
[all...]
H A DSimpleDateFormat.java662 // will be formatted using generic GMT+/-H:MM nomenclature.
918 * @param date the date-time value to be formatted into a date-time string.
922 * @return the formatted date-time string.
980 * @return AttributedCharacterIterator describing the formatted value.
1236 // formatted size. For example, an initial value of 789 will be converted
1238 // in the resulting formatted output.
1269 delegate.formatted(fieldID, f, f, beginOffset, buffer.length(), buffer);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DChoiceFormatTest.java482 String formatted = format.format(0);
483 assertEquals("12'3'4''.", formatted);
486 formatted = format.format(0);
487 assertEquals("12'3''4''.", formatted);
/libcore/luni/src/test/java/libcore/java/text/
H A DSimpleDateFormatTest.java363 // Can we parse an ASCII-formatted date in an Arabic locale?
368 String formatted = sdf.format(d);
369 assertEquals("٢٠١٢-٠٨-٢٩ ١٠:٠٢:٤٥", formatted);
371 // Can we parse the Arabic-formatted date in an Arabic locale, and get the same date
373 Date d2 = sdf.parse(formatted);
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... void failSame (java.lang.String) String message String formatted public static void failNotSame (java.lang.String, java ...

Completed in 2174 milliseconds