/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 56 Duration.between(Instant.MIN, Instant.MAX).addTo(Instant.MIN)); in test_addTo() 58 Duration.between(Instant.MIN, Instant.EPOCH).addTo(Instant.MIN)); in test_addTo() 64 assertEquals(Instant.MIN, in test_subtractFrom() 65 Duration.between(Instant.MIN, Instant.EPOCH).subtractFrom(Instant.EPOCH)); in test_subtractFrom() 66 assertEquals(Instant.MIN, in test_subtractFrom() 67 Duration.between(Instant.MIN, Instant.MAX).subtractFrom(Instant.MAX)); in test_subtractFrom() 77 { Instant.EPOCH, Duration.between(Instant.EPOCH, Instant.MIN).minusNanos(1) }, in test_addTo_exceeds() 78 { Instant.EPOCH, Duration.between(Instant.MIN, Instant.MAX) }, in test_addTo_exceeds() 80 { Instant.MIN, MAX_DURATION }, in test_addTo_exceeds() 102 { Instant.EPOCH, Duration.between(Instant.MIN, Instant.EPOCH).plusNanos(1) }, in test_subtractFrom_exceeds() [all …]
|
D | LocalDateTest.java | 35 assertSame(IsoChronology.INSTANCE, LocalDate.MIN.getChronology()); in test_getChronology()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 83 cmp(Instant.MIN, Long.MIN_VALUE, DAYS, 1); in main() 84 cmp(Instant.MIN, Long.MIN_VALUE, HOURS, 1); in main() 85 cmp(Instant.MIN, Long.MIN_VALUE, MINUTES, 1); in main() 86 cmp(Instant.MIN, Long.MIN_VALUE, SECONDS, 1); in main() 87 cmp(Instant.MIN, Instant.MIN.getEpochSecond() - 1, SECONDS, 1); in main() 88 cmp(Instant.MIN, Instant.MIN.getEpochSecond() - 100, SECONDS, 1); in main() 89 cmp(Instant.MIN, Instant.MIN.getEpochSecond(), SECONDS, 0); in main() 129 if (instant != Instant.MIN && instant != Instant.MAX) { in main() 140 } else if (!instant.equals(Instant.MIN)) { in main() 211 ts(Instant.MIN, "-1000000001-01-01T00:00:00Z"); in main() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | ZoneRulesTest.java | 39 ZoneOffset offset = ZoneOffset.MIN; in test_of_ZoneOffset() 44 assertNull(zoneRules.nextTransition(Instant.MIN)); in test_of_ZoneOffset() 48 LocalDateTime.MIN.toInstant(offset), in test_of_ZoneOffset()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKInstantPrinterParser.java | 106 {Instant.MIN.getEpochSecond(), 0, "-1000000000-01-01T00:00:00Z"}, in data_printGrouped() 184 {9, Instant.MIN.getEpochSecond(), 0, "-1000000000-01-01T00:00:00.000000000Z"}, in data_printDigits() 220 {Instant.MIN.getEpochSecond(), 0, "-1000000000-01-01T00:00:00.000000000Z"}, in data_parse_digits()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronoImpl.java | 108 OffsetDateTime jodt = OffsetDateTime.of(isoStartDate, LocalTime.MIN, ZoneOffset.UTC); in test_JapaneseChrono_vsCalendar() 135 … OffsetDateTime jodt = OffsetDateTime.of(LocalDate.from(jd), LocalTime.MIN, ZoneOffset.UTC); in test_dayOfYearVsCalendar()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 120 check(LocalTime.MIN, 0, 0, 0, 0); in constant_MIN_TIME() 125 assertSame(LocalTime.MIN, LocalTime.of(0, 0)); in constant_MIN_TIME_same()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKLocalDateSerialization.java | 88 assertSerializable(LocalDate.MIN); in test_serialization()
|
D | TCKLocalDateTimeSerialization.java | 81 assertSerializable(LocalDateTime.MIN); in test_serialization()
|
D | TCKOffsetTimeSerialization.java | 91 assertSerializable(OffsetTime.MIN); in test_serialization()
|
D | TCKOffsetDateTimeSerialization.java | 91 assertSerializable(OffsetDateTime.MIN); in test_serialization()
|
D | TCKLocalTimeSerialization.java | 90 assertSerializable(LocalTime.MIN); in test_serialization()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TestIsoChronology.java | 244 LocalDate test = LocalDate.MIN.with(isoDate); in test_LocalDate_adjustToISODate() 251 LocalDateTime test = LocalDateTime.MIN.with(isoDate); in test_LocalDateTime_adjustToISODate()
|
D | TCKOffsetTime.java | 154 TemporalAccessor[] array = {TEST_11_30_59_500_PONE, OffsetTime.MIN, OffsetTime.MAX}; in samples() 196 check(OffsetTime.MIN, 0, 0, 0, 0, ZoneOffset.MAX); in constant_MIN() 201 check(OffsetTime.MAX, 23, 59, 59, 999999999, ZoneOffset.MIN); in constant_MAX() 367 OffsetTime test = OffsetTime.ofInstant(Instant.MIN, ZoneOffset.UTC); 694 …{OffsetTime.of(LocalTime.of(23, 5), OFFSET_PONE), OffsetTime.MIN, OffsetTime.of(LocalTime.of(23 , … 696 …{OffsetTime.MIN, OffsetTime.of(LocalTime.of(23, 5), OFFSET_PONE), OffsetTime.of(OffsetTime.MIN.toL…
|
D | TCKInstant.java | 119 private static final long MIN_SECOND = Instant.MIN.getEpochSecond(); 137 TemporalAccessor[] array = {TEST_12345_123456789, Instant.MIN, Instant.MAX, Instant.EPOCH}; in samples() 178 check(Instant.MIN, -31557014167219200L, 0); in constant_MIN() 442 {Instant.ofEpochSecond(10), Instant.MIN, Instant.ofEpochSecond(10), null}, 480 {Instant.ofEpochSecond(10), Instant.MIN, Instant.MIN, null}, 2141 {Instant.MIN, "-1000000000-01-01T00:00:00Z"},
|
D | TCKOffsetDateTime.java | 173 …TemporalAccessor[] array = {TEST_2008_6_30_11_30_59_000000500, OffsetDateTime.MIN, OffsetDateTime.… in samples() 229 check(OffsetDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0, ZoneOffset.MAX); in constant_MIN() 234 check(OffsetDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999, ZoneOffset.MIN); in constant_MAX() 676 …{OffsetDateTime.of(2012, 3, 4, 23, 5, 0, 0, OFFSET_PONE), OffsetDateTime.MIN, OffsetDateTime.of(20… 678 …{OffsetDateTime.MIN, OffsetDateTime.of(2012, 3, 4, 23, 5, 0, 0, OFFSET_PONE), OffsetDateTime.of(Of…
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 122 public static final OffsetTime MIN = LocalTime.MIN.atOffset(ZoneOffset.MAX); field in OffsetTime 130 public static final OffsetTime MAX = LocalTime.MAX.atOffset(ZoneOffset.MIN);
|
D | OffsetDateTime.java | 132 public static final OffsetDateTime MIN = LocalDateTime.MIN.atOffset(ZoneOffset.MAX); field in OffsetDateTime 140 public static final OffsetDateTime MAX = LocalDateTime.MAX.atOffset(ZoneOffset.MIN);
|
D | LocalDateTime.java | 138 public static final LocalDateTime MIN = LocalDateTime.of(LocalDate.MIN, LocalTime.MIN); field in LocalDateTime
|
D | LocalTime.java | 126 public static final LocalTime MIN; field in LocalTime 150 MIN = HOURS[0];
|
D | ZoneOffset.java | 149 public static final ZoneOffset MIN = ZoneOffset.ofTotalSeconds(-MAX_SECONDS); field in ZoneOffset
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 74 assertEquals(weekField.isSupportedBy(LocalDate.MIN), true); in test_WOWBY_isSupportedBy() 115 assertEquals(yearField.isSupportedBy(LocalDate.MIN), true); in test_WBY_isSupportedBy()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 446 public static final java.time.OffsetDateTime MIN; field in OffsetDateTime 449 MIN = null;
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKJulianFields.java | 135 assertEquals(field.adjustInto(LocalDate.MIN, value), date); in test_samples_set()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 267 instant = Instant.MIN; in toInstant()
|