Home
last modified time | relevance | path

Searched refs:MICRO_OF_SECOND (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java73 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/
DTCKDateTimeParseResolver.java81 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/
DTestDateTimeParsing.java64 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/
DInstant.java69 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()
DLocalTime.java682 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/
DTCKChronoField.java73 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/
DYearMonthTest.java110 ChronoField.MICRO_OF_SECOND, in test_with_TemporalField_long_invalidField()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKInstant.java63 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…
DTCKLocalTime.java68 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()
DTCKDayOfWeek.java170 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
DTCKMonth.java162 assertEquals(Month.AUGUST.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java68 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);
DTCKOffsetDateTime.java79 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);
DTCKZonedDateTime.java79 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);
DTCKLocalDateTime.java77 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);
DTCKYear.java338 assertEquals(TEST_2008.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
DTCKYearMonth.java403 assertEquals(TEST_2008_06.isSupported(ChronoField.MICRO_OF_SECOND), false); in test_isSupported_TemporalField()
DTCKLocalDate.java612 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MICRO_OF_SECOND), false);
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java104 assertEquals(false, date.isSupported(ChronoField.MICRO_OF_SECOND)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java158 MICRO_OF_SECOND("MicroOfSecond", MICROS, SECONDS, ValueRange.of(0, 999_999)), enumConstant