Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java72 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/
DTCKChronoField.java72 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/
DParsed.java70 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/
DLocalTime.java65 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/
DTCKDateTimeParseResolver.java80 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/
DYearMonthTest.java109 ChronoField.MICRO_OF_DAY, in test_with_TemporalField_long_invalidField()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java103 assertEquals(false, date.isSupported(ChronoField.MICRO_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java177 MICRO_OF_DAY("MicroOfDay", MICROS, DAYS, ValueRange.of(0, 86400L * 1000_000L - 1)), enumConstant
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java67 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()
DTCKDayOfWeek.java171 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
DTCKMonth.java163 assertEquals(Month.AUGUST.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java67 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);
DTCKOffsetDateTime.java78 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);
DTCKMonthDay.java385 assertEquals(TEST_07_15.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
DTCKZonedDateTime.java78 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);
DTCKLocalDateTime.java76 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);
DTCKYear.java339 assertEquals(TEST_2008.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
DTCKInstant.java534 … {Instant.ofEpochSecond(10, 200), ChronoField.MICRO_OF_DAY, 1, null, DateTimeException.class},
DTCKYearMonth.java404 assertEquals(TEST_2008_06.isSupported(ChronoField.MICRO_OF_DAY), false); in test_isSupported_TemporalField()
DTCKLocalDate.java613 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MICRO_OF_DAY), false);
/libcore/api/
Dcurrent.txt11872 enum_constant public static final java.time.temporal.ChronoField MICRO_OF_DAY;