/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 73 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 421 updateCheckConflict(MILLI_OF_DAY, MILLI_OF_SECOND, lod % 1_000); in resolveTimeFields() 455 if (fieldValues.containsKey(MILLI_OF_SECOND)) { in resolveTimeFields() 456 long los = fieldValues.remove(MILLI_OF_SECOND); in resolveTimeFields() 458 MILLI_OF_SECOND.checkValidValue(los); in resolveTimeFields() 460 … updateCheckConflict(MILLI_OF_SECOND, NANO_OF_SECOND, los * 1_000_000L + (nos % 1_000_000L)); in resolveTimeFields() 482 if (fieldValues.containsKey(MILLI_OF_SECOND)) { in resolveTimeLenient() 483 long los = fieldValues.remove(MILLI_OF_SECOND); in resolveTimeLenient() 487 updateCheckConflict(MILLI_OF_SECOND, MICRO_OF_SECOND, cos); in resolveTimeLenient() 577 fieldValues.put(MILLI_OF_SECOND, nos / 1000000); in resolveFractional() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 75 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 132 {MILLI_OF_SECOND}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 83 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 250 {MILLI_OF_SECOND, 12, NANO_OF_SECOND, 12_000_000L, null, null}, in data_resolveOneToField() 433 {SECOND_OF_DAY, 3600 + 650, MILLI_OF_SECOND, 2, 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() 456 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 463 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 1176 assertEquals(acc.isSupported(MILLI_OF_SECOND), true); in test_parse_fromField_InstantSeconds() 1180 assertEquals(acc.getLong(MILLI_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() 1193 assertEquals(acc.isSupported(MILLI_OF_SECOND), true); in test_parse_fromField_InstantSeconds_NanoOfSecond() 1197 assertEquals(acc.getLong(MILLI_OF_SECOND), 123L); in test_parse_fromField_InstantSeconds_NanoOfSecond() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 65 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 162 assertEquals(actual.isSupported(MILLI_OF_SECOND), true); in test_parse_instantZones_supported() 201 assertEquals(actual.isSupported(MILLI_OF_SECOND), true); in test_parse_instantNoZone_supported()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 70 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 453 …INSTANT_SECONDS || field == NANO_OF_SECOND || field == MICRO_OF_SECOND || field == MILLI_OF_SECOND; in isSupported() 557 case MILLI_OF_SECOND: return nanos / 1000_000; in get() 594 case MILLI_OF_SECOND: return nanos / 1000_000; in getLong() 703 case MILLI_OF_SECOND: { in with()
|
D | LocalTime.java | 661 case MILLI_OF_SECOND: return nano / 1000_000; in get0() 836 case MILLI_OF_SECOND: return withNano((int) newValue * 1000_000); in with()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 75 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 136 {MILLI_OF_SECOND, MILLIS, SECONDS}, in data_fieldUnit() 181 {MILLI_OF_SECOND, false, true}, in data_fieldBased()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 112 ChronoField.MILLI_OF_SECOND, in test_with_TemporalField_long_invalidField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 64 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 146 MILLI_OF_SECOND, in validFields() 390 assertEquals(test.get(ChronoField.MILLI_OF_SECOND), 123); 398 assertEquals(test.getLong(ChronoField.MILLI_OF_SECOND), 123); 520 …{Instant.ofEpochSecond(10, 200), ChronoField.MILLI_OF_SECOND, 100, Instant.ofEpochSecond(10, 100*1… 521 … {Instant.ofEpochSecond(10, 200), ChronoField.MILLI_OF_SECOND, 0, Instant.ofEpochSecond(10), null}, 525 …{Instant.ofEpochSecond(10, 200), ChronoField.MILLI_OF_SECOND, 1000, null, DateTimeException.class},
|
D | TCKLocalTime.java | 70 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 172 MILLI_OF_SECOND, in validFields() 568 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_SECOND), true); in test_isSupported_TemporalField() 856 LocalTime test = TEST_12_30_40_987654321.with(MILLI_OF_SECOND, i); in test_with_longTemporalField_milliOfSecond() 1010 {MILLI_OF_SECOND, time(0, 0, 0, 0), MILLI_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1011 {MILLI_OF_SECOND, time(0, 0, 0, 0), MILLI_OF_SECOND.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 172 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MILLI_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 164 assertEquals(Month.AUGUST.isSupported(ChronoField.MILLI_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 70 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 165 MILLI_OF_SECOND, in validFields() 526 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKOffsetDateTime.java | 81 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 184 MILLI_OF_SECOND, in validFields() 543 … assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKMonthDay.java | 386 assertEquals(TEST_07_15.isSupported(ChronoField.MILLI_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 81 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 186 MILLI_OF_SECOND, in validFields() 869 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKLocalDateTime.java | 79 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 189 MILLI_OF_SECOND, in validFields() 926 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKYear.java | 340 assertEquals(TEST_2008.isSupported(ChronoField.MILLI_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 405 assertEquals(TEST_2008_06.isSupported(ChronoField.MILLI_OF_SECOND), false); in test_isSupported_TemporalField()
|
D | TCKLocalDate.java | 614 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MILLI_OF_SECOND), false);
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 103 assertEquals(false, date.isSupported(ChronoField.MILLI_OF_SECOND)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 197 MILLI_OF_SECOND("MilliOfSecond", MILLIS, SECONDS, ValueRange.of(0, 999)), enumConstant
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 4202 int i = t.get(ChronoField.MILLI_OF_SECOND) * 1000000; 4208 int i = t.get(ChronoField.MILLI_OF_SECOND); 4215 t.getLong(ChronoField.MILLI_OF_SECOND);
|
D | GregorianCalendar.java | 3462 zdt.get(ChronoField.MILLI_OF_SECOND))); in from()
|