Home
last modified time | relevance | path

Searched refs:FOREVER (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/main/java/java/time/temporal/
DChronoField.java72 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));
DJulianFields.java66 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);
DChronoUnit.java190 FOREVER("Forever", Duration.ofSeconds(Long.MAX_VALUE, 999_999_999)); enumConstant
241 return this.compareTo(DAYS) >= 0 && this != FOREVER; in isDateBased()
DWeekFields.java74 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()
DIsoFields.java70 import static java.time.temporal.ChronoUnit.FOREVER;
516 return FOREVER; in getRangeUnit()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoUnitSerialization.java63 import static java.time.temporal.ChronoUnit.FOREVER;
96 {FOREVER}, in data_chronoUnit()
/libcore/ojluni/src/test/java/time/test/java/time/
DMockSimplePeriod.java63 import static java.time.temporal.ChronoUnit.FOREVER;
113 if (unit == FOREVER) { in MockSimplePeriod()
/libcore/ojluni/src/test/java/time/tck/java/time/
DMockSimplePeriod.java63 import static java.time.temporal.ChronoUnit.FOREVER;
113 if (unit == FOREVER) { in MockSimplePeriod()
DTCKOffsetDateTime.java94 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);
DTCKLocalTime.java78 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()
DTCKYear.java389 assertEquals(TEST_2008.isSupported(ChronoUnit.FOREVER), false); in test_isSupported_TemporalUnit()
DTCKOffsetTime.java575 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.FOREVER), false);
DTCKYearMonth.java454 assertEquals(TEST_2008_06.isSupported(ChronoUnit.FOREVER), false); in test_isSupported_TemporalUnit()
DTCKLocalDate.java663 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.FOREVER), false);
DTCKZonedDateTime.java918 assertEquals(TEST_DATE_TIME.isSupported(ChronoUnit.FOREVER), false);
DTCKLocalDateTime.java975 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.FOREVER), false);
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java63 import static java.time.temporal.ChronoUnit.FOREVER;
101 {FOREVER, false, false, true}, in data_chronoUnit()
DTCKChronoField.java88 import static java.time.temporal.ChronoUnit.FOREVER;
125 {YEAR, YEARS, FOREVER}, in data_fieldUnit()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTime.java66 import static java.time.temporal.ChronoUnit.FOREVER;
252 return unit != FOREVER; in isSupported()
DChronoZonedDateTime.java66 import static java.time.temporal.ChronoUnit.FOREVER;
399 return unit != FOREVER; in isSupported()
/libcore/luni/src/test/java/libcore/java/time/
DInstantTest.java51 assertEquals(false, Instant.EPOCH.isSupported(ChronoUnit.FOREVER)); in test_isSupported_TemporalUnit()
DOffsetTimeTest.java76 for (ChronoUnit unit : EnumSet.range(ChronoUnit.DAYS, ChronoUnit.FOREVER)) { in test_plus_minus_invalidUnits()
/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java68 import static java.time.temporal.ChronoUnit.FOREVER;
521 return unit != FOREVER; in isSupported()
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestIsoWeekFields.java108 assertEquals(yearField.getRangeUnit(), ChronoUnit.FOREVER); in test_WBY_basics()