/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 123 {CLOCK_HOUR_OF_DAY}, in data_fieldBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 71 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 297 {CLOCK_HOUR_OF_DAY, 8, LocalTime.of(8, 0)}, in data_resolveOneToTime() 298 {CLOCK_HOUR_OF_DAY, 24, LocalTime.of(0, 0)}, in data_resolveOneToTime() 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() 414 {CLOCK_HOUR_OF_DAY, 8, MINUTE_OF_HOUR, 6, LocalTime.of(8, 6)}, in data_resolveTwoToTime() 415 {CLOCK_HOUR_OF_DAY, 24, MINUTE_OF_HOUR, 6, LocalTime.of(0, 6)}, in data_resolveTwoToTime() 417 {CLOCK_HOUR_OF_DAY, 8, HOUR_OF_DAY, 8, LocalTime.of(8, 0)}, in data_resolveTwoToTime() 418 {CLOCK_HOUR_OF_DAY, 8, CLOCK_HOUR_OF_AMPM, 8, LocalTime.of(8, 0)}, in data_resolveTwoToTime() 419 {CLOCK_HOUR_OF_DAY, 20, CLOCK_HOUR_OF_AMPM, 8, LocalTime.of(20, 0)}, in data_resolveTwoToTime() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 66 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 370 if (fieldValues.containsKey(CLOCK_HOUR_OF_DAY)) { in resolveTimeFields() 372 long ch = fieldValues.remove(CLOCK_HOUR_OF_DAY); in resolveTimeFields() 374 CLOCK_HOUR_OF_DAY.checkValidValue(ch); in resolveTimeFields() 376 updateCheckConflict(CLOCK_HOUR_OF_DAY, HOUR_OF_DAY, ch == 24 ? 0 : ch); in resolveTimeFields()
|
D | DateTimeFormatterBuilder.java | 1863 FIELD_MAP.put('k', ChronoField.CLOCK_HOUR_OF_DAY); // SDF, LDML
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 172 {CLOCK_HOUR_OF_DAY, false, true}, in data_fieldBased()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 101 ChronoField.CLOCK_HOUR_OF_DAY, in test_with_TemporalField_long_invalidField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 182 CLOCK_HOUR_OF_DAY, in validFields() 611 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), true); in test_isSupported_TemporalField() 669 assertEquals(test.get(ChronoField.CLOCK_HOUR_OF_DAY), 12); in test_get_TemporalField() 685 assertEquals(test.getLong(ChronoField.CLOCK_HOUR_OF_DAY), 12); in test_getLong_TemporalField() 1004 LocalTime test = TEST_12_30_40_987654321.with(CLOCK_HOUR_OF_DAY, i); in test_with_longTemporalField_clockHourOfDay() 1005 assertEquals(test.get(CLOCK_HOUR_OF_DAY), i); in test_with_longTemporalField_clockHourOfDay() 1071 {CLOCK_HOUR_OF_DAY, time(0, 0, 0, 0), CLOCK_HOUR_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1072 {CLOCK_HOUR_OF_DAY, time(0, 0, 0, 0), CLOCK_HOUR_OF_DAY.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
|
D | TCKDayOfWeek.java | 181 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKMonth.java | 173 assertEquals(Month.AUGUST.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKOffsetTime.java | 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 173 CLOCK_HOUR_OF_DAY, in validFields() 535 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), true);
|
D | TCKOffsetDateTime.java | 69 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 192 CLOCK_HOUR_OF_DAY, in validFields() 552 … assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), true);
|
D | TCKMonthDay.java | 395 assertEquals(TEST_07_15.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKZonedDateTime.java | 69 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 194 CLOCK_HOUR_OF_DAY, in validFields() 878 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), true);
|
D | TCKLocalDateTime.java | 68 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 197 CLOCK_HOUR_OF_DAY, in validFields() 935 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), true);
|
D | TCKYear.java | 349 assertEquals(TEST_2008.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKYearMonth.java | 414 assertEquals(TEST_2008_06.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false); in test_isSupported_TemporalField()
|
D | TCKLocalDate.java | 623 assertEquals(TEST_2007_07_15.isSupported(ChronoField.CLOCK_HOUR_OF_DAY), false);
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 94 assertEquals(false, date.isSupported(ChronoField.CLOCK_HOUR_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 316 CLOCK_HOUR_OF_DAY("ClockHourOfDay", HOURS, DAYS, ValueRange.of(1, 24)), enumConstant
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 693 case CLOCK_HOUR_OF_DAY: return (hour == 0 ? 24 : hour); in get0() 868 case CLOCK_HOUR_OF_DAY: return withHour((int) (newValue == 24 ? 0 : newValue)); in with()
|
/libcore/api/ |
D | current.txt | 11863 enum_constant public static final java.time.temporal.ChronoField CLOCK_HOUR_OF_DAY;
|