/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 125 {CLOCK_HOUR_OF_AMPM}, in data_fieldBased()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 66 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 393 if (fieldValues.containsKey(CLOCK_HOUR_OF_AMPM)) { in resolveTimeFields() 395 long ch = fieldValues.remove(CLOCK_HOUR_OF_AMPM); in resolveTimeFields() 397 CLOCK_HOUR_OF_AMPM.checkValidValue(ch); in resolveTimeFields() 399 updateCheckConflict(CLOCK_HOUR_OF_AMPM, HOUR_OF_AMPM, ch == 12 ? 0 : ch); in resolveTimeFields()
|
D | DateTimeFormatterBuilder.java | 2106 FIELD_MAP.put('h', ChronoField.CLOCK_HOUR_OF_AMPM); // SDF, LDML
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 174 {CLOCK_HOUR_OF_AMPM, false, true}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 70 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 250 {CLOCK_HOUR_OF_AMPM, 8, HOUR_OF_AMPM, 8L, null, null}, in data_resolveOneToField() 251 {CLOCK_HOUR_OF_AMPM, 12, HOUR_OF_AMPM, 0L, null, null}, in data_resolveOneToField() 409 {AMPM_OF_DAY, 0, CLOCK_HOUR_OF_AMPM, 5, LocalTime.of(5, 0)}, in data_resolveTwoToTime() 410 {AMPM_OF_DAY, 1, CLOCK_HOUR_OF_AMPM, 5, LocalTime.of(17, 0)}, in data_resolveTwoToTime() 421 {CLOCK_HOUR_OF_DAY, 8, CLOCK_HOUR_OF_AMPM, 8, LocalTime.of(8, 0)}, in data_resolveTwoToTime() 422 {CLOCK_HOUR_OF_DAY, 20, CLOCK_HOUR_OF_AMPM, 8, LocalTime.of(20, 0)}, in data_resolveTwoToTime() 431 {MINUTE_OF_DAY, 650, CLOCK_HOUR_OF_AMPM, 10, LocalTime.of(10, 50)}, in data_resolveTwoToTime() 837 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(CLOCK_HOUR_OF_AMPM).toFormatter(); in test_resolveClockHourOfAmPm() 843 assertEquals(accessor.isSupported(CLOCK_HOUR_OF_AMPM), false); in test_resolveClockHourOfAmPm()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 100 ChronoField.CLOCK_HOUR_OF_AMPM, in test_with_TemporalField_long_invalidField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 63 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 180 CLOCK_HOUR_OF_AMPM, in validFields() 603 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), true); in test_isSupported_TemporalField() 662 assertEquals(test.get(ChronoField.CLOCK_HOUR_OF_AMPM), 12); in test_get_TemporalField() 678 assertEquals(test.getLong(ChronoField.CLOCK_HOUR_OF_AMPM), 12); in test_getLong_TemporalField() 971 LocalTime test = TEST_12_30_40_987654321.with(CLOCK_HOUR_OF_AMPM, i); in test_with_longTemporalField_clockHourOfAmPm() 972 assertEquals(test.get(CLOCK_HOUR_OF_AMPM), i); in test_with_longTemporalField_clockHourOfAmPm() 1059 {CLOCK_HOUR_OF_AMPM, time(0, 0, 0, 0), CLOCK_HOUR_OF_AMPM.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1060 {CLOCK_HOUR_OF_AMPM, time(0, 0, 0, 0), CLOCK_HOUR_OF_AMPM.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 179 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 171 assertEquals(Month.AUGUST.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 63 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 168 CLOCK_HOUR_OF_AMPM, in validFields() 525 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), true);
|
D | TCKOffsetDateTime.java | 68 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 186 CLOCK_HOUR_OF_AMPM, in validFields() 535 … assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), true);
|
D | TCKMonthDay.java | 393 assertEquals(TEST_07_15.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 68 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 192 CLOCK_HOUR_OF_AMPM, in validFields() 871 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), true);
|
D | TCKLocalDateTime.java | 67 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 194 CLOCK_HOUR_OF_AMPM, in validFields() 927 …assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), true);
|
D | TCKYear.java | 371 assertEquals(TEST_2008.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 412 assertEquals(TEST_2008_06.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false); in test_isSupported_TemporalField()
|
D | TCKLocalDate.java | 666 assertEquals(TEST_2007_07_15.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM), false);
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 93 assertEquals(false, date.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 302 CLOCK_HOUR_OF_AMPM("ClockHourOfAmPm", HOURS, HALF_DAYS, ValueRange.of(1, 12)), enumConstant
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 692 case CLOCK_HOUR_OF_AMPM: int ham = hour % 12; return (ham % 12 == 0 ? 12 : ham); in get0() 866 … case CLOCK_HOUR_OF_AMPM: return plusHours((newValue == 12 ? 0 : newValue) - (hour % 12)); in with()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 4391 int i = t.get(ChronoField.CLOCK_HOUR_OF_AMPM); 4396 int i = t.get(ChronoField.CLOCK_HOUR_OF_AMPM);
|
/libcore/api/ |
D | current.txt | 12779 enum_constant public static final java.time.temporal.ChronoField CLOCK_HOUR_OF_AMPM;
|