Searched refs:formatted (Results 1 - 9 of 9) 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
291 * is true, and <code>formatted</code> is invoked, the begin/end
296 public void formatted(Format.Field attr, Object value, int start, method in class:FieldPosition.Delegate
305 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.java709 // will be formatted using generic GMT+/-H:MM nomenclature.
965 * @param date the date-time value to be formatted into a date-time string.
969 * @return the formatted date-time string.
1028 * @return AttributedCharacterIterator describing the formatted value.
1366 // formatted size. For example, an initial value of 789 will be converted
1368 // in the resulting formatted output.
1402 delegate.formatted(fieldID, f, f, beginOffset, buffer.length(), buffer);
/libcore/ojluni/src/test/java/time/tck/java/time/format/
H A DTCKLocalizedPrinterParser.java150 String formatted = f.format(date);
151 assertEquals(formatted, text);
203 String formatted = f.format(time);
204 assertEquals(formatted, text);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DChoiceFormatTest.java444 String formatted = format.format(0);
445 assertEquals("12'3'4''.", formatted);
448 formatted = format.format(0);
449 assertEquals("12'3''4''.", formatted);
/libcore/luni/src/test/java/libcore/java/text/
H A DSimpleDateFormatTest.java37 * The list of time zone ids formatted as "UTC".
400 // Can we parse an ASCII-formatted date in an Arabic locale?
405 String formatted = sdf.format(d);
406 assertEquals("٢٠١٢-٠٨-٢٩ ١٠:٠٢:٤٥", formatted);
408 // Can we parse the Arabic-formatted date in an Arabic locale, and get the same date
410 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 227 milliseconds