Searched refs:noOffsetText (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | AbstractTestPrinterParser.java | 140 protected DateTimeFormatter getFormatter(String pattern, String noOffsetText) { in getFormatter() argument 141 …return builder.appendOffset(pattern, noOffsetText).toFormatter(locale).withDecimalStyle(decimalSty… in getFormatter()
|
D | TestZoneOffsetParser.java | 89 …public void test_parse_error(String pattern, String noOffsetText, String text, int pos, Class<?> e… in test_parse_error() argument 91 getFormatter(pattern, noOffsetText).parseUnresolved(text, new ParsePosition(pos)); in test_parse_error()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 921 public DateTimeFormatterBuilder appendOffset(String pattern, String noOffsetText) { in appendOffset() argument 922 appendInternal(new OffsetIdPrinterParser(pattern, noOffsetText)); in appendOffset() 3316 private final String noOffsetText; field in DateTimeFormatterBuilder.OffsetIdPrinterParser 3325 OffsetIdPrinterParser(String pattern, String noOffsetText) { in OffsetIdPrinterParser() argument 3327 Objects.requireNonNull(noOffsetText, "noOffsetText"); in OffsetIdPrinterParser() 3329 this.noOffsetText = noOffsetText; in OffsetIdPrinterParser() 3349 buf.append(noOffsetText); in format() 3370 buf.append(noOffsetText); in format() 3379 int noOffsetLen = noOffsetText.length(); in parse() 3388 if (context.subSequenceEquals(text, position, noOffsetText, 0, noOffsetLen)) { in parse() [all …]
|