/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 73 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 134 {MICRO_OF_SECOND}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 81 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 249 {MICRO_OF_SECOND, 12, NANO_OF_SECOND, 12_000L, null, null}, in data_resolveOneToField() 434 {SECOND_OF_DAY, 3600 + 650, MICRO_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 442 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MICRO_OF_SECOND, 2_004, LocalTime.of(1, 10, 50, 2_004_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() 464 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MICRO_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 1175 assertEquals(acc.isSupported(MICRO_OF_SECOND), true); in test_parse_fromField_InstantSeconds() 1179 assertEquals(acc.getLong(MICRO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() 1192 assertEquals(acc.isSupported(MICRO_OF_SECOND), true); in test_parse_fromField_InstantSeconds_NanoOfSecond() 1196 assertEquals(acc.getLong(MICRO_OF_SECOND), 123456L); in test_parse_fromField_InstantSeconds_NanoOfSecond() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 64 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 161 assertEquals(actual.isSupported(MICRO_OF_SECOND), true); in test_parse_instantZones_supported() 200 assertEquals(actual.isSupported(MICRO_OF_SECOND), true); in test_parse_instantNoZone_supported()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 69 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 453 …return field == INSTANT_SECONDS || field == NANO_OF_SECOND || field == MICRO_OF_SECOND || field ==… in isSupported() 556 case MICRO_OF_SECOND: return nanos / 1000; in get() 593 case MICRO_OF_SECOND: return nanos / 1000; in getLong() 707 case MICRO_OF_SECOND: { in with()
|
D | LocalTime.java | 682 case MICRO_OF_SECOND: return nano / 1000; in get0() 857 case MICRO_OF_SECOND: return withNano((int) newValue * 1000); in with()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 73 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 137 {MICRO_OF_SECOND, MICROS, SECONDS}, in data_fieldUnit() 183 {MICRO_OF_SECOND, false, true}, in data_fieldBased()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 110 ChronoField.MICRO_OF_SECOND, in test_with_TemporalField_long_invalidField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 63 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 145 MICRO_OF_SECOND, in validFields() 389 assertEquals(test.get(ChronoField.MICRO_OF_SECOND), 123456); 397 assertEquals(test.getLong(ChronoField.MICRO_OF_SECOND), 123456); 518 …{Instant.ofEpochSecond(10, 200), ChronoField.MICRO_OF_SECOND, 100, Instant.ofEpochSecond(10, 100*1… 519 … {Instant.ofEpochSecond(10, 200), ChronoField.MICRO_OF_SECOND, 0, Instant.ofEpochSecond(10), null}, 524 …{Instant.ofEpochSecond(10, 200), ChronoField.MICRO_OF_SECOND, 1000000, null, DateTimeException.cla…
|
D | TCKLocalTime.java | 68 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 172 MICRO_OF_SECOND, in validFields() 600 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MICRO_OF_SECOND), true); in test_isSupported_TemporalField() 865 LocalTime test = TEST_12_30_40_987654321.with(MICRO_OF_SECOND, i); in test_with_longTemporalField_microOfSecond() 1038 {MICRO_OF_SECOND, time(0, 0, 0, 0), MICRO_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1039 {MICRO_OF_SECOND, time(0, 0, 0, 0), MICRO_OF_SECOND.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 170 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 162 assertEquals(Month.AUGUST.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 68 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 163 MICRO_OF_SECOND, in validFields() 524 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.MICRO_OF_SECOND), true);
|
D | TCKOffsetDateTime.java | 79 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 182 MICRO_OF_SECOND, in validFields() 541 … assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.MICRO_OF_SECOND), true);
|
D | TCKZonedDateTime.java | 79 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 184 MICRO_OF_SECOND, in validFields() 867 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MICRO_OF_SECOND), true);
|
D | TCKLocalDateTime.java | 77 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 187 MICRO_OF_SECOND, in validFields() 924 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MICRO_OF_SECOND), true);
|
D | TCKYear.java | 338 assertEquals(TEST_2008.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 403 assertEquals(TEST_2008_06.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKLocalDate.java | 612 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MICRO_OF_SECOND), false);
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 104 assertEquals(false, date.isSupported(ChronoField.MICRO_OF_SECOND)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 158 MICRO_OF_SECOND("MicroOfSecond", MICROS, SECONDS, ValueRange.of(0, 999_999)), enumConstant
|