Home
last modified time | relevance | path

Searched refs:appendText (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeTextPrinting.java140 DateTimeFormatter f = builder.appendText(field, style).toFormatter(Locale.ENGLISH); in test_appendText2arg_format()
150 DateTimeFormatter f = builder.appendText(field).toFormatter(Locale.ENGLISH); in test_appendText1arg_format()
174 builder.appendText(MONTH_OF_YEAR, map); in test_appendTextMap()
188 builder.appendText(DAY_OF_MONTH, map); in test_appendTextMap_DOM()
200 builder.appendText(MONTH_OF_YEAR, map); in test_appendTextMapIncomplete()
DTCKDateTimeFormatterBuilder.java305 builder.appendText(null); in test_appendText_1arg_null()
311 builder.appendText(null, TextStyle.SHORT); in test_appendText_2arg_nullRule()
316 builder.appendText(MONTH_OF_YEAR, (TextStyle) null); in test_appendText_2arg_nullStyle()
322 builder.appendText(null, new HashMap<>()); in test_appendTextMap_nullRule()
327 builder.appendText(MONTH_OF_YEAR, (Map<Long, String>) null); in test_appendTextMap_nullStyle()
DTCKResolverStyle.java121 … optionalFormatter = new DateTimeFormatterBuilder().appendLiteral(" ").appendText(ChronoField.ERA,… in test_resolverStyle()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DAbstractTestPrinterParser.java129 return builder.appendText(field).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter()
133 return builder.appendText(field, style).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter()
DTestDateTimeFormatterBuilder.java344 builder.appendText(MONTH_OF_YEAR); in test_appendText_1arg()
351 builder.appendText(null); in test_appendText_1arg_null()
357 builder.appendText(MONTH_OF_YEAR, TextStyle.SHORT); in test_appendText_2arg()
364 builder.appendText(null, TextStyle.SHORT); in test_appendText_2arg_nullRule()
369 builder.appendText(MONTH_OF_YEAR, (TextStyle) null); in test_appendText_2arg_nullStyle()
388 builder.appendText(MONTH_OF_YEAR, map); in test_appendTextMap()
395 builder.appendText(null, new HashMap<Long, String>()); in test_appendTextMap_nullRule()
400 builder.appendText(MONTH_OF_YEAR, (Map<Long, String>) null); in test_appendTextMap_nullStyle()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java225 appendText(document, node, token, parser.getText()); in parse()
233 appendText(document, node, token, parser.getText()); in parse()
248 appendText(document, node, token, resolved); in parse()
337 private void appendText(DocumentImpl document, Node parent, int token, String text) { in appendText() method in DocumentBuilderImpl
/libcore/ojluni/src/main/java/java/time/chrono/
DEra.java321 … return new DateTimeFormatterBuilder().appendText(ERA, style).toFormatter(locale).format(this); in getDisplayName()
DJapaneseEra.java296 .appendText(ERA, style) in getDisplayName()
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java227 …return new DateTimeFormatterBuilder().appendText(DAY_OF_WEEK, style).toFormatter(locale).format(th… in getDisplayName()
DMonth.java254 …return new DateTimeFormatterBuilder().appendText(MONTH_OF_YEAR, style).toFormatter(locale).format(… in getDisplayName()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java715 public DateTimeFormatterBuilder appendText(TemporalField field) { in appendText() method in DateTimeFormatterBuilder
716 return appendText(field, TextStyle.FULL); in appendText()
734 public DateTimeFormatterBuilder appendText(TemporalField field, TextStyle textStyle) { in appendText() method in DateTimeFormatterBuilder
775 public DateTimeFormatterBuilder appendText(TemporalField field, Map<Long, String> textLookup) { in appendText() method in DateTimeFormatterBuilder
1745 appendText(field, TextStyle.SHORT); in parseField()
1755appendText(field, standalone ? TextStyle.SHORT_STANDALONE : TextStyle.SHORT); in parseField()
1758 appendText(field, standalone ? TextStyle.FULL_STANDALONE : TextStyle.FULL); in parseField()
1761appendText(field, standalone ? TextStyle.NARROW_STANDALONE : TextStyle.NARROW); in parseField()
1769 appendText(field, TextStyle.SHORT); in parseField()
1779 appendText(field, TextStyle.SHORT); in parseField()
[all …]
DDateTimeFormatter.java1246 .appendText(DAY_OF_WEEK, dow)
1251 .appendText(MONTH_OF_YEAR, moy)