/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestPadPrinterDecorator.java | 78 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 84 getFormatter().formatTo(LocalDate.of(2008, 12, 3), buf); in test_print_fullDateTime() 91 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_append() 98 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_noPadRequiredSingle() 104 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_padRequiredSingle() 110 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_noPadRequiredMultiple() 116 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_padRequiredMultiple() 123 getFormatter().formatTo(EMPTY_DTA, buf); in test_print_overPad()
|
D | TestNumberPrinter.java | 84 getFormatter(DAY_OF_MONTH, 1, 2, SignStyle.NEVER).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 89 getFormatter(DAY_OF_MONTH, 1, 2, SignStyle.NEVER).formatTo(LocalDate.of(2012, 1, 3), buf); in test_print_append() 187 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.NOT_NEGATIVE).formatTo(new MockFieldValue(DAY… in test_pad_NOT_NEGATIVE() 204 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.NEVER).formatTo(new MockFieldValue(DAY_OF_MON… in test_pad_NEVER() 220 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.NORMAL).formatTo(new MockFieldValue(DAY_OF_MO… in test_pad_NORMAL() 236 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.ALWAYS).formatTo(new MockFieldValue(DAY_OF_MO… 252 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.EXCEEDS_PAD).formatTo(new MockFieldValue(DAY_…
|
D | TestCharLiteralPrinter.java | 75 getFormatter('a').formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 81 getFormatter('a').formatTo(dta, buf); in test_print_dateTime() 86 getFormatter('a').formatTo(dta, buf); in test_print_emptyAppendable()
|
D | TestStringLiteralPrinter.java | 75 getFormatter("hello").formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 81 getFormatter("hello").formatTo(dta, buf); in test_print_dateTime() 89 getFormatter("hello").formatTo(dta, buf); in test_print_emptyAppendable()
|
D | TestTextPrinter.java | 93 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 98 getFormatter(DAY_OF_WEEK, TextStyle.FULL).formatTo(LocalDate.of(2012, 4, 18), buf); in test_print_append() 248 getFormatter(field, style).formatTo(new MockFieldValue(field, value), buf); in test_format() 262 getFormatter(field, style).withChronology(JapaneseChronology.INSTANCE).formatTo(ld, buf); in test_formatJapaneseEra() 268 getFormatter(field, style).withLocale(locale).formatTo(LocalDate.of(2013, 1, 1), buf); in test_standaloneNames() 274 …getFormatter(MONTH_OF_YEAR, TextStyle.FULL).withLocale(Locale.FRENCH).formatTo(LocalDate.of(2012, … in test_print_french_long() 279 …getFormatter(MONTH_OF_YEAR, TextStyle.SHORT).withLocale(Locale.FRENCH).formatTo(LocalDate.of(2012,… in test_print_french_short()
|
D | TestFractionPrinterParser.java | 93 getFormatter(NANO_OF_SECOND, 0, 9, true).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 98 getFormatter(NANO_OF_SECOND, 0, 9, true).formatTo(LocalTime.of(12, 30, 40, 3), buf); in test_print_append() 181 …getFormatter(NANO_OF_SECOND, minWidth, maxWidth, true).formatTo(new MockFieldValue(NANO_OF_SECOND… in test_print_nanos() 190 …getFormatter(NANO_OF_SECOND, minWidth, maxWidth, false).formatTo(new MockFieldValue(NANO_OF_SECON… in test_print_nanos_noDecimalPoint() 223 …getFormatter(SECOND_OF_MINUTE, minWidth, maxWidth, true).formatTo(new MockFieldValue(SECOND_OF_MIN… in test_print_seconds() 232 …getFormatter(SECOND_OF_MINUTE, minWidth, maxWidth, false).formatTo(new MockFieldValue(SECOND_OF_MI… in test_print_seconds_noDecimalPoint()
|
D | TestZoneOffsetPrinter.java | 153 getFormatter(pattern, "NO-OFFSET").formatTo(offset, buf); in test_format() 165 getFormatter("+HH:MM:ss", "Z").formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 169 getFormatter("+HH:MM:ss", "Z").formatTo(OFFSET_0130, buf); in test_print_emptyAppendable()
|
D | TestReducedPrinter.java | 98 getFormatter0(YEAR, 2, 2010).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 104 getFormatter0(YEAR, 2, 2010).formatTo(LocalDate.of(2012, 1, 1), buf); in test_print_append() 181 … getFormatter0(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf); in test_pivot() 198 …getFormatterBaseDate(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value)… in test_pivot_baseDate()
|
D | TestSettingsParser.java | 77 getFormatter().formatTo(dta, buf); in test_print_sensitive() 83 getFormatter().formatTo(dta, buf); in test_print_strict()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formattable.java | 163 void formatTo(Formatter formatter, int flags, int width, int precision); in formatTo() method
|
D | Formatter.java | 2971 ((Formattable)arg).formatTo(fmt, f.valueOf(), width, precision); in printString()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldFormattableTest.java | 29 public void formatTo(Formatter arg0, int arg1, int arg2, int arg3) { in formatTo() method in OldFormattableTest.Mock_Formattable
|
D | OldFormatterTest.java | 32 …public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalForma… in test_Formattable() 41 …public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalForma… in test_Formattable()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1720 formatTo(temporal, buf); in format() 1740 public void formatTo(TemporalAccessor temporal, Appendable appendable) { in formatTo() method in DateTimeFormatter 2114 formatter.formatTo((TemporalAccessor) obj, toAppendTo); in format()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 425 test.formatTo(LocalDate.of(2008, 6, 30), buf); in test_print_TemporalAppendable() 433 test.formatTo(LocalTime.of(11, 30), buf); in test_print_TemporalAppendable_noSuchField() 440 test.formatTo((TemporalAccessor) null, buf); in test_print_TemporalAppendable_nullTemporal() 446 test.formatTo(LocalDate.of(2008, 6, 30), (Appendable) null); in test_print_TemporalAppendable_nullAppendable()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 80 public void formatTo(Formatter formatter, int flags, int width, in formatTo() method in FormatterTest.MockFormattable
|