Home
last modified time | relevance | path

Searched refs:appendFraction (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatterBuilder.java267 builder.appendFraction(null, 1, 9, false); in test_appendFraction_4arg_nullRule()
272 builder.appendFraction(DAY_OF_MONTH, 1, 9, false); in test_appendFraction_4arg_invalidRuleNotFixedSet()
277 builder.appendFraction(MINUTE_OF_HOUR, -1, 9, false); in test_appendFraction_4arg_minTooSmall()
282 builder.appendFraction(MINUTE_OF_HOUR, 10, 9, false); in test_appendFraction_4arg_minTooBig()
287 builder.appendFraction(MINUTE_OF_HOUR, 0, -1, false); in test_appendFraction_4arg_maxTooSmall()
292 builder.appendFraction(MINUTE_OF_HOUR, 1, 10, false); in test_appendFraction_4arg_maxTooBig()
297 builder.appendFraction(MINUTE_OF_HOUR, 9, 3, false); in test_appendFraction_4arg_maxWidthMinWidth()
808 …= builder.appendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND… in test_adjacent_strict_fractionFollows()
821 …= builder.appendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND… in test_adjacent_strict_fractionFollows_2digit()
834 …= builder.appendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND… in test_adjacent_strict_fractionFollows_0digit()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java299 builder.appendFraction(MINUTE_OF_HOUR, 1, 9, false); in test_appendFraction_4arg()
306 builder.appendFraction(null, 1, 9, false); in test_appendFraction_4arg_nullRule()
311 builder.appendFraction(DAY_OF_MONTH, 1, 9, false); in test_appendFraction_4arg_invalidRuleNotFixedSet()
316 builder.appendFraction(MINUTE_OF_HOUR, -1, 9, false); in test_appendFraction_4arg_minTooSmall()
321 builder.appendFraction(MINUTE_OF_HOUR, 10, 9, false); in test_appendFraction_4arg_minTooBig()
326 builder.appendFraction(MINUTE_OF_HOUR, 0, -1, false); in test_appendFraction_4arg_maxTooSmall()
331 builder.appendFraction(MINUTE_OF_HOUR, 1, 10, false); in test_appendFraction_4arg_maxTooBig()
336 builder.appendFraction(MINUTE_OF_HOUR, 9, 3, false); in test_appendFraction_4arg_maxWidthMinWidth()
DTestFractionPrinterParser.java85 …return builder.appendFraction(field, minWidth, maxWidth, decimalPoint).toFormatter(locale).withDec… in getFormatter()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java811 .appendFraction(NANO_OF_SECOND, 0, 9, true)
DDateTimeFormatterBuilder.java693 public DateTimeFormatterBuilder appendFraction( in appendFraction() method in DateTimeFormatterBuilder
1792 appendFraction(NANO_OF_SECOND, count, count, false); in parseField()
3258 .appendFraction(NANO_OF_SECOND, minDigits, maxDigits, true) in parse()