/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 74 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 436 updateCheckConflict(MILLI_OF_DAY, MILLI_OF_SECOND, lod % 1_000); in resolveTimeFields() 470 if (fieldValues.containsKey(MILLI_OF_SECOND)) { in resolveTimeFields() 471 long los = fieldValues.remove(MILLI_OF_SECOND); in resolveTimeFields() 473 MILLI_OF_SECOND.checkValidValue(los); in resolveTimeFields() 475 … updateCheckConflict(MILLI_OF_SECOND, NANO_OF_SECOND, los * 1_000_000L + (nos % 1_000_000L)); in resolveTimeFields() 510 if (fieldValues.containsKey(MILLI_OF_SECOND)) { in resolveTimeLenient() 511 long los = fieldValues.remove(MILLI_OF_SECOND); in resolveTimeLenient() 515 updateCheckConflict(MILLI_OF_SECOND, MICRO_OF_SECOND, cos); in resolveTimeLenient() 635 fieldValues.put(MILLI_OF_SECOND, nos / 1000000); in resolveFractional() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestFractionPrinterParser.java | 62 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 340 {MILLI_OF_SECOND, 3, 3, true, ".1x"}, in provider_parseMinWidth() 341 {MILLI_OF_SECOND, 3, 3, true, ".12x"}, in provider_parseMinWidth() 342 {MILLI_OF_SECOND, 3, 3, true, ".1234x"}, in provider_parseMinWidth()
|
D | TestDateTimeParsing.java | 67 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 177 assertEquals(actual.isSupported(MILLI_OF_SECOND), true); in test_parse_instantZones_supported() 216 assertEquals(actual.isSupported(MILLI_OF_SECOND), true); in test_parse_instantNoZone_supported()
|
/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; 253 {MILLI_OF_SECOND, 12, NANO_OF_SECOND, 12_000_000L, null, null}, in data_resolveOneToField() 436 {SECOND_OF_DAY, 3600 + 650, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 451 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 459 … {MICRO_OF_DAY, (3600 + 650) * 1000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveTwoToTime() 466 … {NANO_OF_DAY, (3600 + 650) * 1000_000_000L + 2, MILLI_OF_SECOND, 0, LocalTime.of(1, 10, 50, 2)}, in data_resolveTwoToTime() 1180 assertEquals(acc.isSupported(MILLI_OF_SECOND), true); in test_parse_fromField_InstantSeconds() 1184 assertEquals(acc.getLong(MILLI_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() 1197 assertEquals(acc.isSupported(MILLI_OF_SECOND), true); in test_parse_fromField_InstantSeconds_NanoOfSecond() 1201 assertEquals(acc.getLong(MILLI_OF_SECOND), 123L); in test_parse_fromField_InstantSeconds_NanoOfSecond() [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 70 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 454 …INSTANT_SECONDS || field == NANO_OF_SECOND || field == MICRO_OF_SECOND || field == MILLI_OF_SECOND; in isSupported() 558 case MILLI_OF_SECOND: return nanos / 1000_000; in get() 594 case MILLI_OF_SECOND: return nanos / 1000_000; in getLong() 702 case MILLI_OF_SECOND: { in with()
|
D | LocalTime.java | 685 case MILLI_OF_SECOND: return nano / 1000_000; in get0() 859 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; 174 MILLI_OF_SECOND, in validFields() 596 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_SECOND), true); in test_isSupported_TemporalField() 884 LocalTime test = TEST_12_30_40_987654321.with(MILLI_OF_SECOND, i); in test_with_longTemporalField_milliOfSecond() 1038 {MILLI_OF_SECOND, time(0, 0, 0, 0), MILLI_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1039 {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; 162 MILLI_OF_SECOND, in validFields() 518 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; 180 MILLI_OF_SECOND, in validFields() 528 … 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() 864 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKLocalDateTime.java | 79 import static java.time.temporal.ChronoField.MILLI_OF_SECOND; 188 MILLI_OF_SECOND, in validFields() 920 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MILLI_OF_SECOND), true);
|
D | TCKYear.java | 364 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()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 106 assertEquals(false, date.isSupported(ChronoField.MILLI_OF_SECOND)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 208 MILLI_OF_SECOND("MilliOfSecond", MILLIS, SECONDS, ValueRange.of(0, 999)), enumConstant
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 178 final int millis = ta.get(ChronoField.MILLI_OF_SECOND); in test()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 4411 i = t.get(ChronoField.MILLI_OF_SECOND) * 1000000; 4418 int i = t.get(ChronoField.MILLI_OF_SECOND); 4425 t.getLong(ChronoField.MILLI_OF_SECOND);
|
D | GregorianCalendar.java | 3424 zdt.get(ChronoField.MILLI_OF_SECOND))); in from()
|