Home
last modified time | relevance | path

Searched refs:MILLI_OF_DAY (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java74 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/
DTCKChronoField.java74 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/
DParsed.java72 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()
DDateTimeFormatterBuilder.java1860 FIELD_MAP.put('A', ChronoField.MILLI_OF_DAY); // LDML
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java82 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/
DYearMonthTest.java111 ChronoField.MILLI_OF_DAY, in test_with_TemporalField_long_invalidField()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java102 assertEquals(false, date.isSupported(ChronoField.MILLI_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java216 MILLI_OF_DAY("MilliOfDay", MILLIS, DAYS, ValueRange.of(0, 86400L * 1000L - 1)), enumConstant
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java69 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()
DTCKDayOfWeek.java173 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
DTCKMonth.java165 assertEquals(Month.AUGUST.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java69 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);
DTCKOffsetDateTime.java80 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);
DTCKMonthDay.java387 assertEquals(TEST_07_15.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
DTCKZonedDateTime.java80 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);
DTCKLocalDateTime.java78 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);
DTCKYear.java341 assertEquals(TEST_2008.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
DTCKYearMonth.java406 assertEquals(TEST_2008_06.isSupported(ChronoField.MILLI_OF_DAY), false); in test_isSupported_TemporalField()
DTCKInstant.java533 … {Instant.ofEpochSecond(10, 200), ChronoField.MILLI_OF_DAY, 1, null, DateTimeException.class},
DTCKLocalDate.java615 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MILLI_OF_DAY), false);
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java662 case MILLI_OF_DAY: return (int) (toNanoOfDay() / 1000_000); in get0()
837 case MILLI_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000_000); in with()