/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoField.java | 72 import static java.time.temporal.ChronoUnit.FOREVER; 422 …EPOCH_DAY("EpochDay", DAYS, FOREVER, ValueRange.of((long) (Year.MIN_VALUE * 365.25), (long) (Year.… 485 …PROLEPTIC_MONTH("ProlepticMonth", MONTHS, FOREVER, ValueRange.of(Year.MIN_VALUE * 12L, Year.MAX_VA… 520 YEAR_OF_ERA("YearOfEra", YEARS, FOREVER, ValueRange.of(1, Year.MAX_VALUE, Year.MAX_VALUE + 1)), 544 YEAR("Year", YEARS, FOREVER, ValueRange.of(Year.MIN_VALUE, Year.MAX_VALUE), "year"), 561 ERA("Era", ERAS, FOREVER, ValueRange.of(0, 1), "era"), 576 …INSTANT_SECONDS("InstantSeconds", SECONDS, FOREVER, ValueRange.of(Long.MIN_VALUE, Long.MAX_VALUE)), 590 OFFSET_SECONDS("OffsetSeconds", SECONDS, FOREVER, ValueRange.of(-18 * 3600, 18 * 3600));
|
D | JulianFields.java | 66 import static java.time.temporal.ChronoUnit.FOREVER; 215 JULIAN_DAY("JulianDay", DAYS, FOREVER, JULIAN_DAY_OFFSET), 216 MODIFIED_JULIAN_DAY("ModifiedJulianDay", DAYS, FOREVER, 40587L), 217 RATA_DIE("RataDie", DAYS, FOREVER, 719163L);
|
D | ChronoUnit.java | 190 FOREVER("Forever", Duration.ofSeconds(Long.MAX_VALUE, 999_999_999)); enumConstant 241 return this.compareTo(DAYS) >= 0 && this != FOREVER; in isDateBased()
|
D | WeekFields.java | 74 import static java.time.temporal.ChronoUnit.FOREVER; 712 …ComputedDayOfField("WeekBasedYear", weekDef, IsoFields.WEEK_BASED_YEARS, FOREVER, ChronoField.YEAR… in ofWeekBasedYearField() 768 } else if (rangeUnit == FOREVER) { in getFrom() 902 if (rangeUnit == FOREVER) { // replace year of WeekBasedYear in adjustInto() 949 } else if ((rangeUnit == WEEK_BASED_YEARS || rangeUnit == FOREVER) && in resolve() 1082 } else if (rangeUnit == FOREVER) { in isSupportedBy() 1099 } else if (rangeUnit == FOREVER) { in rangeRefinedBy()
|
D | IsoFields.java | 70 import static java.time.temporal.ChronoUnit.FOREVER; 516 return FOREVER; in getRangeUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoUnitSerialization.java | 63 import static java.time.temporal.ChronoUnit.FOREVER; 96 {FOREVER}, in data_chronoUnit()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 63 import static java.time.temporal.ChronoUnit.FOREVER; 113 if (unit == FOREVER) { in MockSimplePeriod()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | MockSimplePeriod.java | 63 import static java.time.temporal.ChronoUnit.FOREVER; 113 if (unit == FOREVER) { in MockSimplePeriod()
|
D | TCKOffsetDateTime.java | 94 import static java.time.temporal.ChronoUnit.FOREVER; 592 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.FOREVER), false); 1208 odt1.until(odt2, FOREVER);
|
D | TCKLocalTime.java | 78 import static java.time.temporal.ChronoUnit.FOREVER; 149 EnumSet<ChronoUnit> set = EnumSet.range(DAYS, FOREVER); 617 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.FOREVER), false); in test_isSupported_TemporalUnit()
|
D | TCKYear.java | 389 assertEquals(TEST_2008.isSupported(ChronoUnit.FOREVER), false); in test_isSupported_TemporalUnit()
|
D | TCKOffsetTime.java | 575 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.FOREVER), false);
|
D | TCKYearMonth.java | 454 assertEquals(TEST_2008_06.isSupported(ChronoUnit.FOREVER), false); in test_isSupported_TemporalUnit()
|
D | TCKLocalDate.java | 663 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.FOREVER), false);
|
D | TCKZonedDateTime.java | 918 assertEquals(TEST_DATE_TIME.isSupported(ChronoUnit.FOREVER), false);
|
D | TCKLocalDateTime.java | 975 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.FOREVER), false);
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 63 import static java.time.temporal.ChronoUnit.FOREVER; 101 {FOREVER, false, false, true}, in data_chronoUnit()
|
D | TCKChronoField.java | 88 import static java.time.temporal.ChronoUnit.FOREVER; 125 {YEAR, YEARS, FOREVER}, in data_fieldUnit()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTime.java | 66 import static java.time.temporal.ChronoUnit.FOREVER; 252 return unit != FOREVER; in isSupported()
|
D | ChronoZonedDateTime.java | 66 import static java.time.temporal.ChronoUnit.FOREVER; 399 return unit != FOREVER; in isSupported()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | InstantTest.java | 51 assertEquals(false, Instant.EPOCH.isSupported(ChronoUnit.FOREVER)); in test_isSupported_TemporalUnit()
|
D | OffsetTimeTest.java | 76 for (ChronoUnit unit : EnumSet.range(ChronoUnit.DAYS, ChronoUnit.FOREVER)) { in test_plus_minus_invalidUnits()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetDateTime.java | 68 import static java.time.temporal.ChronoUnit.FOREVER; 521 return unit != FOREVER; in isSupported()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 108 assertEquals(yearField.getRangeUnit(), ChronoUnit.FOREVER); in test_WBY_basics()
|