Home
last modified time | relevance | path

Searched refs:parseNumber (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java210 hours = parseNumber(offsetId, 1, false); in of()
215 hours = parseNumber(offsetId, 1, false); in of()
216 minutes = parseNumber(offsetId, 3, false); in of()
220 hours = parseNumber(offsetId, 1, false); in of()
221 minutes = parseNumber(offsetId, 4, true); in of()
225 hours = parseNumber(offsetId, 1, false); in of()
226 minutes = parseNumber(offsetId, 3, false); in of()
227 seconds = parseNumber(offsetId, 5, false); in of()
230 hours = parseNumber(offsetId, 1, false); in of()
231 minutes = parseNumber(offsetId, 4, true); in of()
[all …]
DPeriod.java333 int years = parseNumber(text, yearMatch, negate); in parse()
334 int months = parseNumber(text, monthMatch, negate); in parse()
335 int weeks = parseNumber(text, weekMatch, negate); in parse()
336 int days = parseNumber(text, dayMatch, negate); in parse()
347 private static int parseNumber(CharSequence text, String str, int negate) { in parseNumber() method in Period
DDuration.java393 long daysAsSecs = parseNumber(text, dayMatch, SECONDS_PER_DAY, "days"); in parse()
394 long hoursAsSecs = parseNumber(text, hourMatch, SECONDS_PER_HOUR, "hours"); in parse()
395 long minsAsSecs = parseNumber(text, minuteMatch, SECONDS_PER_MINUTE, "minutes"); in parse()
396 long seconds = parseNumber(text, secondMatch, 1, "seconds"); in parse()
409 …private static long parseNumber(CharSequence text, String parsed, int multiplier, String errorText… in parseNumber() method in Duration
/libcore/ojluni/src/main/java/sun/misc/
DFloatingDecimal.java1836 parseNumber: in readJavaFormatString()
1859 break parseNumber; in readJavaFormatString() local
1865 break parseNumber; in readJavaFormatString() local
1951 break parseNumber; // go throw exception in readJavaFormatString() local
2023 break parseNumber; // certainly bad in readJavaFormatString() local
2036 break parseNumber; // go throw exception in readJavaFormatString() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java117 private static long parseNumber( in parseNumber() method in Duration
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3400 if ((parseNumber(array, 1, text, true) || in parse()
3401 parseNumber(array, 2, text, type >=3) || in parse()
3402 parseNumber(array, 3, text, false)) == false) { in parse()
3424 …private boolean parseNumber(int[] array, int arrayIndex, CharSequence parseText, boolean required)… in parseNumber() method in DateTimeFormatterBuilder.OffsetIdPrinterParser