Home
last modified time | relevance | path

Searched refs:MINUTE_OF_DAY (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoField.java76 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
131 {MINUTE_OF_DAY, MINUTES, DAYS}, in data_fieldUnit()
176 {MINUTE_OF_DAY, false, true}, in data_fieldBased()
213 {MINUTE_OF_DAY, LocalTime.of(5, 4, 3, 200), true, 5*60 + 4}, in data_fieldAndAccessor()
214 {MINUTE_OF_DAY, LocalDateTime.of(2000, 2, 29, 5, 4, 3, 200), true, 5*60 + 4}, in data_fieldAndAccessor()
231 {MINUTE_OF_DAY, LocalDate.of(2000, 2, 29), false, -1}, in data_fieldAndAccessor()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoFieldSerialization.java76 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
127 {MINUTE_OF_DAY}, in data_fieldBased()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java74 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
432 if (fieldValues.containsKey(MINUTE_OF_DAY)) { in resolveTimeFields()
433 long mod = fieldValues.remove(MINUTE_OF_DAY); in resolveTimeFields()
435 MINUTE_OF_DAY.checkValidValue(mod); in resolveTimeFields()
437 updateCheckConflict(MINUTE_OF_DAY, HOUR_OF_DAY, mod / 60); in resolveTimeFields()
438 updateCheckConflict(MINUTE_OF_DAY, MINUTE_OF_HOUR, mod % 60); in resolveTimeFields()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java84 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
299 {MINUTE_OF_DAY, 650, LocalTime.of(10, 50)}, in data_resolveOneToTime()
424 {MINUTE_OF_DAY, 650, SECOND_OF_MINUTE, 8, LocalTime.of(10, 50, 8)}, in data_resolveTwoToTime()
426 {MINUTE_OF_DAY, 650, HOUR_OF_DAY, 10, LocalTime.of(10, 50)}, in data_resolveTwoToTime()
427 {MINUTE_OF_DAY, 650, CLOCK_HOUR_OF_DAY, 10, LocalTime.of(10, 50)}, in data_resolveTwoToTime()
428 {MINUTE_OF_DAY, 650, CLOCK_HOUR_OF_AMPM, 10, LocalTime.of(10, 50)}, in data_resolveTwoToTime()
429 {MINUTE_OF_DAY, 650, AMPM_OF_DAY, 0, LocalTime.of(10, 50)}, in data_resolveTwoToTime()
430 {MINUTE_OF_DAY, 650, MINUTE_OF_HOUR, 50, LocalTime.of(10, 50)}, in data_resolveTwoToTime()
746 … DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(MINUTE_OF_DAY).toFormatter(); in test_resolveMinuteOfDay()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java71 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
177 MINUTE_OF_DAY, in validFields()
573 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoField.MINUTE_OF_DAY), true); in test_isSupported_TemporalField()
632 assertEquals(test.get(ChronoField.MINUTE_OF_DAY), 12 * 60 + 30); in test_get_TemporalField()
648 assertEquals(test.getLong(ChronoField.MINUTE_OF_DAY), 12 * 60 + 30); in test_getLong_TemporalField()
917 LocalTime test = TEST_12_30_40_987654321.with(MINUTE_OF_DAY, i); in test_with_longTemporalField_minuteOfDay()
918 assertEquals(test.get(MINUTE_OF_DAY), i); in test_with_longTemporalField_minuteOfDay()
1025 {MINUTE_OF_DAY, time(0, 0, 0, 0), MINUTE_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1026 {MINUTE_OF_DAY, time(0, 0, 0, 0), MINUTE_OF_DAY.range().getMaximum() + 1}, in data_withTemporalField_outOfRange()
DTCKDayOfWeek.java177 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MINUTE_OF_DAY), false); in test_isSupported_TemporalField()
DTCKMonth.java169 assertEquals(Month.AUGUST.isSupported(ChronoField.MINUTE_OF_DAY), false); in test_isSupported_TemporalField()
DTCKOffsetTime.java71 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
170 MINUTE_OF_DAY, in validFields()
531 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.MINUTE_OF_DAY), true);
DTCKOffsetDateTime.java82 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
189 MINUTE_OF_DAY, in validFields()
548 … assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.MINUTE_OF_DAY), true);
DTCKMonthDay.java391 assertEquals(TEST_07_15.isSupported(ChronoField.MINUTE_OF_DAY), false); in test_isSupported_TemporalField()
DTCKZonedDateTime.java82 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
191 MINUTE_OF_DAY, in validFields()
874 assertEquals(TEST_DATE_TIME.isSupported(ChronoField.MINUTE_OF_DAY), true);
DTCKLocalDateTime.java80 import static java.time.temporal.ChronoField.MINUTE_OF_DAY;
194 MINUTE_OF_DAY, in validFields()
931 … assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoField.MINUTE_OF_DAY), true);
DTCKYear.java345 assertEquals(TEST_2008.isSupported(ChronoField.MINUTE_OF_DAY), false); in test_isSupported_TemporalField()
DTCKYearMonth.java410 assertEquals(TEST_2008_06.isSupported(ChronoField.MINUTE_OF_DAY), false); in test_isSupported_TemporalField()
DTCKInstant.java532 … {Instant.ofEpochSecond(10, 200), ChronoField.MINUTE_OF_DAY, 1, null, DateTimeException.class},
DTCKLocalDate.java619 assertEquals(TEST_2007_07_15.isSupported(ChronoField.MINUTE_OF_DAY), false);
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java113 ChronoField.MINUTE_OF_DAY, in test_with_TemporalField_long_invalidField()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java104 assertEquals(false, date.isSupported(ChronoField.MINUTE_OF_DAY)); in test_JapaneseDate_isSupported_TemporalField()
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java259 MINUTE_OF_DAY("MinuteOfDay", MINUTES, DAYS, ValueRange.of(0, (24 * 60) - 1)), enumConstant
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java666 case MINUTE_OF_DAY: return hour * 60 + minute; in get0()
841 case MINUTE_OF_DAY: return plusMinutes(newValue - (hour * 60 + minute)); in with()