/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 63 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 122 {AMPM_OF_DAY}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeTextProvider.java | 62 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 177 {AMPM_OF_DAY, 0, TextStyle.SHORT, enUS, "AM"}, in data_text() 178 {AMPM_OF_DAY, 1, TextStyle.SHORT, enUS, "PM"}, in data_text()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 69 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 404 {AMPM_OF_DAY, 0, HOUR_OF_AMPM, 5, LocalTime.of(5, 0)}, in data_resolveTwoToTime() 405 {AMPM_OF_DAY, 1, HOUR_OF_AMPM, 5, LocalTime.of(17, 0)}, in data_resolveTwoToTime() 406 {AMPM_OF_DAY, 0, CLOCK_HOUR_OF_AMPM, 5, LocalTime.of(5, 0)}, in data_resolveTwoToTime() 407 {AMPM_OF_DAY, 1, CLOCK_HOUR_OF_AMPM, 5, LocalTime.of(17, 0)}, in data_resolveTwoToTime() 408 {AMPM_OF_DAY, 0, HOUR_OF_DAY, 5, LocalTime.of(5, 0)}, in data_resolveTwoToTime() 409 {AMPM_OF_DAY, 1, HOUR_OF_DAY, 17, LocalTime.of(17, 0)}, in data_resolveTwoToTime() 410 {AMPM_OF_DAY, 0, CLOCK_HOUR_OF_DAY, 5, LocalTime.of(5, 0)}, in data_resolveTwoToTime() 411 {AMPM_OF_DAY, 1, CLOCK_HOUR_OF_DAY, 17, LocalTime.of(17, 0)}, in data_resolveTwoToTime() 420 {CLOCK_HOUR_OF_DAY, 8, AMPM_OF_DAY, 0, LocalTime.of(8, 0)}, in data_resolveTwoToTime() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 67 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 194 } else if (field == AMPM_OF_DAY) { in getText() 263 case AMPM_OF_DAY: in getTextIterator() 412 if (field == AMPM_OF_DAY) { in createStore()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 329 AMPM_OF_DAY("AmPmOfDay", HALF_DAYS, DAYS, ValueRange.of(0, 1), "dayperiod"), enumConstant 640 case AMPM_OF_DAY: in getIcuFieldNumber()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 63 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 171 {AMPM_OF_DAY, false, true}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 62 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 184 AMPM_OF_DAY, in validFields() 612 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.AMPM_OF_DAY), true); in test_isSupported_TemporalField() 670 assertEquals(test.get(ChronoField.AMPM_OF_DAY), 1); in test_get_TemporalField() 686 assertEquals(test.getLong(ChronoField.AMPM_OF_DAY), 1); in test_getLong_TemporalField() 965 assertEquals(test.get(AMPM_OF_DAY), TEST_12_30_40_987654321.get(AMPM_OF_DAY)); in test_with_longTemporalField_hourOfAmPm() 979 assertEquals(test.get(AMPM_OF_DAY), TEST_12_30_40_987654321.get(AMPM_OF_DAY)); in test_with_longTemporalField_clockHourOfAmPm() 1017 LocalTime test = TEST_12_30_40_987654321.with(AMPM_OF_DAY, i); in test_with_longTemporalField_amPmOfDay() 1018 assertEquals(test.get(AMPM_OF_DAY), i); in test_with_longTemporalField_amPmOfDay() 1074 {AMPM_OF_DAY, time(0, 0, 0, 0), AMPM_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() [all …]
|
D | TCKOffsetTime.java | 62 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 175 AMPM_OF_DAY, in validFields() 536 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.AMPM_OF_DAY), true); 589 assertEquals(test.get(ChronoField.AMPM_OF_DAY), 1); 602 assertEquals(test.getLong(ChronoField.AMPM_OF_DAY), 1); 785 …assertEquals(test.with(ChronoField.AMPM_OF_DAY, 0), OffsetTime.of(0, 30, 40, 987654321, OFFSET_PON…
|
D | TCKDayOfWeek.java | 182 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.AMPM_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKOffsetDateTime.java | 67 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 194 AMPM_OF_DAY, in validFields() 553 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.AMPM_OF_DAY), true); 612 assertEquals(test.get(ChronoField.AMPM_OF_DAY), 1); 631 assertEquals(test.getLong(ChronoField.AMPM_OF_DAY), 1);
|
D | TCKMonth.java | 174 assertEquals(Month.AUGUST.isSupported(ChronoField.AMPM_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 67 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 196 AMPM_OF_DAY, in validFields() 879 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.AMPM_OF_DAY), true); 938 assertEquals(test.get(ChronoField.AMPM_OF_DAY), 1); 957 assertEquals(test.getLong(ChronoField.AMPM_OF_DAY), 1);
|
D | TCKLocalDateTime.java | 66 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 199 AMPM_OF_DAY, in validFields() 936 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.AMPM_OF_DAY), true); 995 assertEquals(test.get(ChronoField.AMPM_OF_DAY), 1); 1012 assertEquals(test.getLong(ChronoField.AMPM_OF_DAY), 1);
|
D | TCKLocalDate.java | 624 assertEquals(TEST_2007_07_15.isSupported(ChronoField.AMPM_OF_DAY), false); 878 TEST_2007_07_15.with(ChronoField.AMPM_OF_DAY, 1);
|
D | TCKYear.java | 350 assertEquals(TEST_2008.isSupported(ChronoField.AMPM_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 415 assertEquals(TEST_2008_06.isSupported(ChronoField.AMPM_OF_DAY), false); in test_isSupported_TemporalField()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 99 ChronoField.AMPM_OF_DAY, in test_with_TemporalField_long_invalidField()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 92 assertEquals(false, date.isSupported(ChronoField.AMPM_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 694 case AMPM_OF_DAY: return hour / 12; in get0() 869 case AMPM_OF_DAY: return plusHours((newValue - (hour / 12)) * 12); in with()
|