/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoUnit.java | 182 ERAS("Eras", Duration.ofSeconds(31556952L * 1000_000_000L)),
|
D | ChronoField.java | 149 NANO_OF_DAY("NanoOfDay", NANOS, DAYS, ValueRange.of(0, 86400L * 1000_000_000L - 1)),
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 427 updateCheckConflict(MICRO_OF_DAY, SECOND_OF_DAY, cod / 1_000_000L); in resolveTimeFields() 428 updateCheckConflict(MICRO_OF_DAY, MICRO_OF_SECOND, cod % 1_000_000L); in resolveTimeFields() 475 … updateCheckConflict(MILLI_OF_SECOND, NANO_OF_SECOND, los * 1_000_000L + (nos % 1_000_000L)); in resolveTimeFields() 520 fieldValues.put(NANO_OF_SECOND, los * 1_000_000L); in resolveTimeLenient()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | SerialVersionUIDTest.java | 109 LongStream.of(0L, 1L, 100L, 10_000L, 1_000_000L).forEach(suid -> in recordClasses()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 253 {MILLI_OF_SECOND, 12, NANO_OF_SECOND, 12_000_000L, null, null}, in data_resolveOneToField() 305 {MICRO_OF_DAY, (3600 + 650) * 1_000_000L + 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveOneToTime() 463 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 464 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 465 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 466 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 467 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MICRO_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 468 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, NANO_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime()
|
D | TCKDateTimeFormatterBuilder.java | 1190 assertEquals(parsed.getLong(NANO_OF_SECOND), 567_000_000L); in test_adjacent_strict_fractionFollows() local 1203 assertEquals(parsed.getLong(NANO_OF_SECOND), 560_000_000L); in test_adjacent_strict_fractionFollows_2digit() local 1228 assertEquals(parsed.getLong(NANO_OF_SECOND), 567_000_000L); in test_adjacent_lenient_fractionFollows() local 1241 assertEquals(parsed.getLong(NANO_OF_SECOND), 560_000_000L); in test_adjacent_lenient_fractionFollows_2digit() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
D | ThreadsTest.java | 144 private static final long NANOS_PER_MILLI = 1_000_000L;
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 1770 {5, 650_000_000, 5, 0, NANOS, -650_000_000L}, 1771 {5, 650_000_000, 6, 0, NANOS, 350_000_000L}, 1777 {5, 650_000_000, 4, 950_000_000, NANOS, -700_000_000L}, 1778 {5, 650_000_000, 5, 950_000_000, NANOS, 300_000_000L}, 1785 {5, 650_000_000, 5, 50_000_000, NANOS, -600_000_000L}, 1786 {5, 650_000_000, 6, 50_000_000, NANOS, 400_000_000L},
|
D | TCKLocalTime.java | 858 for (long i : testPoints(1_000_000L)) { in test_with_longTemporalField_microOfSecond() 2306 {time(0, 0, 0, 0), time(2, 0, 0, 0), MICROS, 2 * 3600 * 1_000_000L}, 2314 {time(0, 0, 0, 0), time(14, 0, 0, 0), MICROS, 14 * 3600 * 1_000_000L}, 2322 … {time(0, 0, 0, 0), time(2, 30, 40, 1500), MICROS, (2 * 3600 + 30 * 60 + 40) * 1_000_000L + 1},
|
D | TCKLocalDateTime.java | 2808 {dtEpoch(0, 0, 0, 0), dtEpoch(2, 0, 0, 0), MICROS, 2 * 3600 * 1_000_000L}, 2816 {dtEpoch(0, 0, 0, 0), dtEpoch(14, 0, 0, 0), MICROS, 14 * 3600 * 1_000_000L}, 2824 …dtEpoch(0, 0, 0, 0), dtEpoch(2, 30, 40, 1500), MICROS, (2 * 3600 + 30 * 60 + 40) * 1_000_000L + 1},
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 197 private static final long NANOS_PER_SECOND = 1000_000_000L;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 143 static final long NANOS_PER_SECOND = 1000_000_000L;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 487 LongParker p = new LongParker(Long.MAX_VALUE - 800_000_000L * i); in parkNanosHugeTimeout()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 193 static final long NANOS_PER_SECOND = 1000_000_000L;
|