Searched refs:instantSecs (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKInstantPrinterParser.java | 111 public void test_print_grouped(long instantSecs, int nano, String expected) { in test_print_grouped() argument 112 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_grouped() 189 … public void test_print_digits(int fractionalDigits, long instantSecs, int nano, String expected) { in test_print_digits() argument 190 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_digits() 225 public void test_parse_digitsMinusOne(long instantSecs, int nano, String input) { in test_parse_digitsMinusOne() argument 226 Instant expected = Instant.ofEpochSecond(instantSecs, nano); in test_parse_digitsMinusOne() 234 public void test_parse_digitsNine(long instantSecs, int nano, String input) { in test_parse_digitsNine() argument 237 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 | 367 long instantSecs = temporal.getLong(INSTANT_SECONDS); in from() local 369 return Instant.ofEpochSecond(instantSecs, nanoOfSecond); in from()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3286 long instantSecs; in parse() local 3289 instantSecs = ldt.toEpochSecond(ZoneOffset.UTC); in parse() 3290 instantSecs += Math.multiplyExact(yearParsed / 10_000L, SECONDS_PER_10000_YEARS); in parse() 3295 successPos = context.setParsedField(INSTANT_SECONDS, instantSecs, position, successPos); in parse()
|