/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNonIsoFormatter.java | 160 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_formatLocalizedDate() local 163 String text = dtf.format(date); in test_formatLocalizedDate() 170 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseLocalizedText() local 173 TemporalAccessor temporal = dtf.parse(text); in test_parseLocalizedText() 180 DateTimeFormatter dtf = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL) in test_parseInvalidText() local 182 dtf.parse(text); in test_parseInvalidText() 187 DateTimeFormatter dtf = new DateTimeFormatterBuilder().appendChronologyText(TextStyle.SHORT) in test_chronoNames() local 189 String text = dtf.format(chrono.dateNow()); in test_chronoNames() 191 TemporalAccessor ta = dtf.parse(text); in test_chronoNames() 199 DateTimeFormatter dtf = new DateTimeFormatterBuilder() in test_lenientEraYear() local [all …]
|
D | TestReducedPrinter.java | 272 DateTimeFormatter dtf = builder.toFormatter(); in test_printAdjacent() local 275 String actual = dtf.format(ld); in test_printAdjacent() 276 assertEquals(actual, text, "formatter output: " + dtf); in test_printAdjacent()
|
D | TestNumberParser.java | 169 DateTimeFormatter dtf = getFormatter(DAY_OF_MONTH, minWidth, maxWidth, signStyle); in test_parse_fresh() local 172 …dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decim… in test_parse_fresh() 174 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_fresh() 189 DateTimeFormatter dtf = getFormatter(DAY_OF_WEEK, minWidth, maxWidth, signStyle); in test_parse_textField() local 192 …dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decim… in test_parse_textField() 194 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textField()
|
D | TestReducedParser.java | 372 DateTimeFormatter dtf = builder.toFormatter(); in test_parseAdjacent() local 374 TemporalAccessor parsed = dtf.parseUnresolved(input, ppos); in test_parseAdjacent() 375 …ertNotNull(parsed, String.format("parse failed: ppos: %s, formatter: %s%n", ppos.toString(), dtf)); in test_parseAdjacent()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedFieldParser.java | 120 DateTimeFormatter dtf = b.toFormatter(locale); in test_parse_textField() local 121 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textField() 152 DateTimeFormatter dtf = b.toFormatter(locale); in test_parse_textLocalDate() local 153 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textLocalDate() 163 LocalDate result = LocalDate.parse(text, dtf); in test_parse_textLocalDate() 189 DateTimeFormatter dtf = b.toFormatter(locale); in test_parse_WeekBasedYear() local 190 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_WeekBasedYear() 200 LocalDate result = LocalDate.parse(text, dtf); in test_parse_WeekBasedYear()
|
D | TCKLocalizedFieldPrinter.java | 124 DateTimeFormatter dtf = DateTimeFormatter.ofPattern(pattern, locale); in test_print_WeekBasedYear() local 125 String result = dtf.format(date); in test_print_WeekBasedYear()
|
D | TCKDateTimeFormatter.java | 866 … DateTimeFormatter dtf = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooBig() local 868 Format test = dtf.toFormat(); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooBig() 876 … DateTimeFormatter dtf = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooSmall() local 878 Format test = dtf.toFormat(); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooSmall()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserFactoryTest.java | 120 SAXParserFactory dtf = SAXParserFactory.newInstance(); in test_newInstance() local 121 assertNotNull("New Instance of DatatypeFactory is null", dtf); in test_newInstance()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 94 String dtf = format.format(current); in test_formatLjava_util_Date() local 96 assertTrue("Incorrect date format", sdf.format(current).equals(dtf)); in test_formatLjava_util_Date()
|
/libcore/luni/src/main/java/libcore/net/ |
D | mime.types | 346 application/vnd.sss-dtf
|