Searched refs:instantSecs (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKInstantPrinterParser.java | 117 public void test_print_grouped(long instantSecs, int nano, String expected) { in test_print_grouped() argument 118 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_grouped() 195 … public void test_print_digits(int fractionalDigits, long instantSecs, int nano, String expected) { in test_print_digits() argument 196 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_digits() 240 public void test_parse_digitsMinusOne(long instantSecs, int nano, String input) { in test_parse_digitsMinusOne() argument 241 Instant expected = Instant.ofEpochSecond(instantSecs, nano); in test_parse_digitsMinusOne() 268 public void test_parse_digitsNine(long instantSecs, int nano, String input) { in test_parse_digitsNine() argument 270 Instant expected = Instant.ofEpochSecond(instantSecs, nano); in test_parse_digitsNine()
|
D | TCKDateTimeFormatters.java | 1208 long instantSecs, Integer nano, String expected, Class<?> expectedEx) { in test_print_isoInstant() argument 1209 TemporalAccessor test = buildAccessorInstant(instantSecs, nano); in test_print_isoInstant() 1224 long instantSecs, Integer nano, String input, Class<?> invalid) { in test_parse_isoInstant() argument 1227 assertEquals(parsed.getLong(INSTANT_SECONDS), instantSecs); in test_parse_isoInstant() local 1386 private TemporalAccessor buildAccessorInstant(long instantSecs, Integer nano) { in buildAccessorInstant() argument 1388 mock.fields.put(INSTANT_SECONDS, instantSecs); in buildAccessorInstant()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 368 long instantSecs = temporal.getLong(INSTANT_SECONDS); in from() local 370 return Instant.ofEpochSecond(instantSecs, nanoOfSecond); in from()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3595 long instantSecs; in parse() local 3598 instantSecs = ldt.toEpochSecond(ZoneOffset.ofTotalSeconds(offset)); in parse() 3599 instantSecs += Math.multiplyExact(yearParsed / 10_000L, SECONDS_PER_10000_YEARS); in parse() 3604 successPos = context.setParsedField(INSTANT_SECONDS, instantSecs, position, successPos); in parse()
|