/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoUnit.java | 182 ERAS("Eras", Duration.ofSeconds(31556952L * 1000_000_000L)),
|
D | ChronoField.java | 138 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 | 412 updateCheckConflict(MICRO_OF_DAY, SECOND_OF_DAY, cod / 1_000_000L); in resolveTimeFields() 413 updateCheckConflict(MICRO_OF_DAY, MICRO_OF_SECOND, cod % 1_000_000L); in resolveTimeFields() 460 … updateCheckConflict(MILLI_OF_SECOND, NANO_OF_SECOND, los * 1_000_000L + (nos % 1_000_000L)); in resolveTimeFields() 492 fieldValues.put(NANO_OF_SECOND, los * 1_000_000L); in resolveTimeLenient()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatterBuilder.java | 815 assertEquals(parsed.getLong(NANO_OF_SECOND), 567_000_000L); in test_adjacent_strict_fractionFollows() local 828 assertEquals(parsed.getLong(NANO_OF_SECOND), 560_000_000L); in test_adjacent_strict_fractionFollows_2digit() local 853 assertEquals(parsed.getLong(NANO_OF_SECOND), 567_000_000L); in test_adjacent_lenient_fractionFollows() local 866 assertEquals(parsed.getLong(NANO_OF_SECOND), 560_000_000L); in test_adjacent_lenient_fractionFollows_2digit() local
|
D | TCKDateTimeParseResolver.java | 250 {MILLI_OF_SECOND, 12, NANO_OF_SECOND, 12_000_000L, null, null}, in data_resolveOneToField() 302 {MICRO_OF_DAY, (3600 + 650) * 1_000_000L + 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveOneToTime() 460 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 461 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 462 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 463 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 464 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MICRO_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 465 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, NANO_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime()
|
/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 | 1764 {5, 650_000_000, 5, 0, NANOS, -650_000_000L}, 1765 {5, 650_000_000, 6, 0, NANOS, 350_000_000L}, 1771 {5, 650_000_000, 4, 950_000_000, NANOS, -700_000_000L}, 1772 {5, 650_000_000, 5, 950_000_000, NANOS, 300_000_000L}, 1779 {5, 650_000_000, 5, 50_000_000, NANOS, -600_000_000L}, 1780 {5, 650_000_000, 6, 50_000_000, NANOS, 400_000_000L},
|
D | TCKLocalTime.java | 830 for (long i : testPoints(1_000_000L)) { in test_with_longTemporalField_microOfSecond() 2278 {time(0, 0, 0, 0), time(2, 0, 0, 0), MICROS, 2 * 3600 * 1_000_000L}, 2286 {time(0, 0, 0, 0), time(14, 0, 0, 0), MICROS, 14 * 3600 * 1_000_000L}, 2294 … {time(0, 0, 0, 0), time(2, 30, 40, 1500), MICROS, (2 * 3600 + 30 * 60 + 40) * 1_000_000L + 1},
|
D | TCKLocalDateTime.java | 2814 {dtEpoch(0, 0, 0, 0), dtEpoch(2, 0, 0, 0), MICROS, 2 * 3600 * 1_000_000L}, 2822 {dtEpoch(0, 0, 0, 0), dtEpoch(14, 0, 0, 0), MICROS, 14 * 3600 * 1_000_000L}, 2830 …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 | 142 static final long NANOS_PER_SECOND = 1000_000_000L;
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 189 static final long NANOS_PER_SECOND = 1000_000_000L;
|