/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 74 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 131 {MILLI_OF_DAY}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 74 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 135 {MILLI_OF_DAY, MILLIS, DAYS}, in data_fieldUnit() 180 {MILLI_OF_DAY, false, true}, in data_fieldBased()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 72 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 415 if (fieldValues.containsKey(MILLI_OF_DAY)) { in resolveTimeFields() 416 long lod = fieldValues.remove(MILLI_OF_DAY); in resolveTimeFields() 418 MILLI_OF_DAY.checkValidValue(lod); in resolveTimeFields() 420 updateCheckConflict(MILLI_OF_DAY, SECOND_OF_DAY, lod / 1_000); in resolveTimeFields() 421 updateCheckConflict(MILLI_OF_DAY, MILLI_OF_SECOND, lod % 1_000); in resolveTimeFields()
|
D | DateTimeFormatterBuilder.java | 1860 FIELD_MAP.put('A', ChronoField.MILLI_OF_DAY); // LDML
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 82 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 301 {MILLI_OF_DAY, (3600 + 650) * 1_000L + 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveOneToTime() 442 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MICRO_OF_SECOND, 2_004, LocalTime.of(1, 10, 50, 2_004_000… in data_resolveTwoToTime() 443 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, NANO_OF_SECOND, 2_000_004, LocalTime.of(1, 10, 50, 2_000_… in data_resolveTwoToTime() 445 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 446 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 447 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 448 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 111 ChronoField.MILLI_OF_DAY, in test_with_TemporalField_long_invalidField()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 102 assertEquals(false, date.isSupported(ChronoField.MILLI_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 216 MILLI_OF_DAY("MilliOfDay", MILLIS, DAYS, ValueRange.of(0, 86400L * 1000L - 1)), enumConstant
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 69 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 173 MILLI_OF_DAY, in validFields() 569 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_DAY), true); in test_isSupported_TemporalField() 870 LocalTime test = TEST_12_30_40_987654321.with(MILLI_OF_DAY, i); in test_with_longTemporalField_milliOfDay() 1013 {MILLI_OF_DAY, time(0, 0, 0, 0), MILLI_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1014 {MILLI_OF_DAY, time(0, 0, 0, 0), MILLI_OF_DAY.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 173 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 165 assertEquals(Month.AUGUST.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 69 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 166 MILLI_OF_DAY, in validFields() 527 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.MILLI_OF_DAY), true);
|
D | TCKOffsetDateTime.java | 80 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 185 MILLI_OF_DAY, in validFields() 544 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.MILLI_OF_DAY), true);
|
D | TCKMonthDay.java | 387 assertEquals(TEST_07_15.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 80 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 187 MILLI_OF_DAY, in validFields() 870 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MILLI_OF_DAY), true);
|
D | TCKLocalDateTime.java | 78 import static java.time.temporal.ChronoField.MILLI_OF_DAY; 190 MILLI_OF_DAY, in validFields() 927 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_DAY), true);
|
D | TCKYear.java | 341 assertEquals(TEST_2008.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 406 assertEquals(TEST_2008_06.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKInstant.java | 533 … {Instant.ofEpochSecond(10, 200), ChronoField.MILLI_OF_DAY, 1, null, DateTimeException.class},
|
D | TCKLocalDate.java | 615 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MILLI_OF_DAY), false);
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 662 case MILLI_OF_DAY: return (int) (toNanoOfDay() / 1000_000); in get0() 837 case MILLI_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000_000); in with()
|