/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 66 import static java.time.temporal.ChronoUnit.MICROS; 115 {MICROS, false, true, false}, in data_chronoUnit() 146 {MICROS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 2, 3, 1000 + 400)}, in data_unitAndTemporal() 161 {MICROS, LocalDate.of(2000, 2, 29), false, 1, null}, in data_unitAndTemporal()
|
D | TCKChronoField.java | 90 import static java.time.temporal.ChronoUnit.MICROS; 137 {MICRO_OF_SECOND, MICROS, SECONDS}, in data_fieldUnit() 138 {MICRO_OF_DAY, MICROS, DAYS}, in data_fieldUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoUnitSerialization.java | 66 import static java.time.temporal.ChronoUnit.MICROS; 110 {MICROS}, in data_chronoUnit()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 75 import static java.time.temporal.ChronoUnit.MICROS; 158 MICRO_OF_SECOND("MicroOfSecond", MICROS, SECONDS, ValueRange.of(0, 999_999)), 177 MICRO_OF_DAY("MicroOfDay", MICROS, DAYS, ValueRange.of(0, 86400L * 1000_000L - 1)),
|
D | ChronoUnit.java | 88 MICROS("Micros", Duration.ofNanos(1000)), enumConstant
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | InstantTest.java | 37 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MICROS)); in test_isSupported_TemporalUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 65 import static java.time.temporal.ChronoUnit.MICROS; 340 {0, MICROS, 0, 0}, in provider_factory_of_longTemporalUnit() 348 {1, MICROS, 0, 1000}, in provider_factory_of_longTemporalUnit() 356 {3, MICROS, 0, 3000}, in provider_factory_of_longTemporalUnit() 364 {-1, MICROS, -1, 999999000}, in provider_factory_of_longTemporalUnit() 372 {-3, MICROS, -1, 999997000}, in provider_factory_of_longTemporalUnit() 381 … {Long.MAX_VALUE, MICROS, Long.MAX_VALUE / 1000000, (int) ((Long.MAX_VALUE % 1000000) * 1000)}, in provider_factory_of_longTemporalUnit() 382 …{Long.MIN_VALUE, MICROS, Long.MIN_VALUE / 1000000 - 1, (int) ((Long.MIN_VALUE % 1000000 + 1000000)… in provider_factory_of_longTemporalUnit() 1129 t = t.plus(1, MICROS); in plus_longTemporalUnit_micros() 1748 t = t.minus(1, MICROS); in minus_longTemporalUnit_micros() [all …]
|
D | TCKLocalTime.java | 81 import static java.time.temporal.ChronoUnit.MICROS; 637 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.MICROS), true); in test_isSupported_TemporalUnit() 1385 {LocalTime.of(1, 2, 3, 123_456_789), MICROS, LocalTime.of(1, 2, 3, 123_456_000)}, in data_truncatedToValid() 2304 {time(0, 0, 0, 0), time(0, 0, 0, 0), MICROS, 0}, 2312 {time(0, 0, 0, 0), time(2, 0, 0, 0), MICROS, 2 * 3600 * 1_000_000L}, 2320 {time(0, 0, 0, 0), time(14, 0, 0, 0), MICROS, 14 * 3600 * 1_000_000L}, 2328 … {time(0, 0, 0, 0), time(2, 30, 40, 1500), MICROS, (2 * 3600 + 30 * 60 + 40) * 1_000_000L + 1},
|
D | TCKOffsetTime.java | 82 import static java.time.temporal.ChronoUnit.MICROS; 561 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.MICROS), true); 1084 …Time.of(1, 1, 1, 0, OFFSET_PONE), OffsetTime.of(2, 1, 1, 0, OFFSET_PONE), MICROS, 3600*1000*1000L}, 1092 …Time.of(1, 1, 1, 0, OFFSET_PONE), OffsetTime.of(3, 1, 1, 0, OFFSET_PTWO), MICROS, 3600*1000*1000L},
|
D | TCKOffsetDateTime.java | 97 import static java.time.temporal.ChronoUnit.MICROS; 578 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.MICROS), true); 1154 …0, OFFSET_PONE), OffsetDateTime.of(2010, 6, 30, 2, 1, 1, 0, OFFSET_PONE), MICROS, 3600*1000*1000L}, 1162 …0, OFFSET_PONE), OffsetDateTime.of(2010, 6, 30, 3, 1, 1, 0, OFFSET_PTWO), MICROS, 3600*1000*1000L},
|
D | TCKLocalDateTime.java | 95 import static java.time.temporal.ChronoUnit.MICROS; 961 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.MICROS), true); 2806 {dtEpoch(0, 0, 0, 0), dtEpoch(0, 0, 0, 0), MICROS, 0}, 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…
|
D | TCKInstant.java | 68 import static java.time.temporal.ChronoUnit.MICROS; 632 …{Instant.ofEpochSecond(86400 + 3600 + 60 + 1, 123_456_789), MICROS, Instant.ofEpochSecond(86400 + …
|
D | TCKPeriod.java | 1165 {ChronoUnit.MICROS}, in data_badTemporalUnit()
|
D | TCKYear.java | 375 assertEquals(TEST_2008.isSupported(ChronoUnit.MICROS), false); in test_isSupported_TemporalUnit()
|
D | TCKYearMonth.java | 440 assertEquals(TEST_2008_06.isSupported(ChronoUnit.MICROS), false); in test_isSupported_TemporalUnit()
|
D | TCKLocalDate.java | 649 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.MICROS), false);
|
D | TCKZonedDateTime.java | 904 assertEquals(TEST_DATE_TIME.isSupported(ChronoUnit.MICROS), true);
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 309 …case MICROS: return plusDays(amountToAdd / MICROS_PER_DAY).plusNanos((amountToAdd % MICROS_PER_DAY… in plus() 380 case MICROS: amount = Math.multiplyExact(amount, MICROS_PER_DAY); break; in until()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 848 case MICROS: return plus(amountToAdd / 1000_000, (amountToAdd % 1000_000) * 1000); in plus() 1143 case MICROS: return nanosUntil(end) / 1000; in until()
|
D | LocalTime.java | 1065 case MICROS: return plusNanos((amountToAdd % MICROS_PER_DAY) * 1000); in plus() 1407 case MICROS: return nanosUntil / 1000; in until()
|
D | LocalDateTime.java | 1181 …case MICROS: return plusDays(amountToAdd / MICROS_PER_DAY).plusNanos((amountToAdd % MICROS_PER_DAY… in plus() 1696 case MICROS: in until()
|
D | OffsetTime.java | 1177 case MICROS: return nanosUntil / 1000; in until()
|
D | Duration.java | 705 …case MICROS: return plusSeconds((amountToAdd / (1000_000L * 1000)) * 1000).plusNanos((amountToAdd … in plus()
|
/libcore/api/ |
D | current.txt | 11903 enum_constant public static final java.time.temporal.ChronoUnit MICROS;
|