/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 72 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 133 {MICRO_OF_DAY}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 72 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 138 {MICRO_OF_DAY, MICROS, DAYS}, in data_fieldUnit() 182 {MICRO_OF_DAY, false, true}, in data_fieldBased()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 70 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 407 if (fieldValues.containsKey(MICRO_OF_DAY)) { in resolveTimeFields() 408 long cod = fieldValues.remove(MICRO_OF_DAY); in resolveTimeFields() 410 MICRO_OF_DAY.checkValidValue(cod); in resolveTimeFields() 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()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 65 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 670 if (field == MICRO_OF_DAY) { in getLong() 683 …case MICRO_OF_DAY: throw new UnsupportedTemporalTypeException("Invalid field 'MicroOfDay' for get(… in get0() 858 case MICRO_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000); in with()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 80 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 302 {MICRO_OF_DAY, (3600 + 650) * 1_000_000L + 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveOneToTime() 451 …{MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, NANO_OF_SECOND, 2_004, LocalTime.of(1, 10, 50, 2_004)… in data_resolveTwoToTime() 453 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 454 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 455 …{MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 456 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 457 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, MICRO_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 109 ChronoField.MICRO_OF_DAY, in test_with_TemporalField_long_invalidField()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 103 assertEquals(false, date.isSupported(ChronoField.MICRO_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 177 MICRO_OF_DAY("MicroOfDay", MICROS, DAYS, ValueRange.of(0, 86400L * 1000_000L - 1)), enumConstant
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 67 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 173 MICRO_OF_DAY, in validFields() 601 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MICRO_OF_DAY), true); in test_isSupported_TemporalField() 879 LocalTime test = TEST_12_30_40_987654321.with(MICRO_OF_DAY, i); in test_with_longTemporalField_microOfDay() 1041 {MICRO_OF_DAY, time(0, 0, 0, 0), MICRO_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1042 {MICRO_OF_DAY, time(0, 0, 0, 0), MICRO_OF_DAY.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 171 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 163 assertEquals(Month.AUGUST.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 67 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 164 MICRO_OF_DAY, in validFields() 525 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.MICRO_OF_DAY), true);
|
D | TCKOffsetDateTime.java | 78 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 183 MICRO_OF_DAY, in validFields() 542 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.MICRO_OF_DAY), true);
|
D | TCKMonthDay.java | 385 assertEquals(TEST_07_15.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 78 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 185 MICRO_OF_DAY, in validFields() 868 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MICRO_OF_DAY), true);
|
D | TCKLocalDateTime.java | 76 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 188 MICRO_OF_DAY, in validFields() 925 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MICRO_OF_DAY), true);
|
D | TCKYear.java | 339 assertEquals(TEST_2008.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKInstant.java | 534 … {Instant.ofEpochSecond(10, 200), ChronoField.MICRO_OF_DAY, 1, null, DateTimeException.class},
|
D | TCKYearMonth.java | 404 assertEquals(TEST_2008_06.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKLocalDate.java | 613 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MICRO_OF_DAY), false);
|
/libcore/api/ |
D | current.txt | 11872 enum_constant public static final java.time.temporal.ChronoField MICRO_OF_DAY;
|