/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ThaiBuddhistChronologyTest.java | 47 ChronoField.PROLEPTIC_MONTH.range().getMinimum() + YEARS_AHEAD * 12L, in test_range() 54 .of(1, -ChronoField.YEAR.range().getMinimum() + 1 - YEARS_AHEAD, in test_range() 59 expected = ValueRange.of(ChronoField.YEAR.range().getMinimum() + YEARS_AHEAD, in test_range() 109 assertEquals(ValueRange.of(1, -ChronoField.YEAR.range().getMinimum() + 1 - YEARS_AHEAD), in test_ThaiBuddhistDate_range_yeaOfEra()
|
D | MinguoChronologyTest.java | 47 ChronoField.PROLEPTIC_MONTH.range().getMinimum() - YEARS_BEHIND * 12L, in test_range() 54 -ChronoField.YEAR.range().getMinimum() + 1 + YEARS_BEHIND); in test_range() 58 expected = ValueRange.of(ChronoField.YEAR.range().getMinimum() - YEARS_BEHIND, in test_range() 107 assertEquals(ValueRange.of(1, -ChronoField.YEAR.range().getMinimum() + 1 + YEARS_BEHIND), in test_MinguoDate_range_yeaOfEra()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ValueRange.java | 216 public long getMinimum() { in getMinimum() method in ValueRange 270 return getMinimum() >= Integer.MIN_VALUE && getMaximum() <= Integer.MAX_VALUE; in isIntValue() 282 return (value >= getMinimum() && value <= getMaximum()); in isValidValue()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeValueRange.java | 95 assertEquals(test.getMinimum(), 1); in test_of_longlong() 105 assertEquals(test.getMinimum(), 1); in test_of_longlong_big() 123 assertEquals(test.getMinimum(), 1); in test_of_longlonglong() 162 assertEquals(test.getMinimum(), sMin); in test_of_longlonglonglong()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | MinguoChronology.java | 318 …return ValueRange.of(range.getMinimum() - YEARS_DIFFERENCE * 12L, range.getMaximum() - YEARS_DIFFE… in range() 322 …return ValueRange.of(1, range.getMaximum() - YEARS_DIFFERENCE, -range.getMinimum() + 1 + YEARS_DIF… in range() 326 …return ValueRange.of(range.getMinimum() - YEARS_DIFFERENCE, range.getMaximum() - YEARS_DIFFERENCE); in range()
|
D | ThaiBuddhistChronology.java | 354 …return ValueRange.of(range.getMinimum() + YEARS_DIFFERENCE * 12L, range.getMaximum() + YEARS_DIFFE… in range() 358 …return ValueRange.of(1, -(range.getMinimum() + YEARS_DIFFERENCE) + 1, range.getMaximum() + YEARS_D… in range() 362 …return ValueRange.of(range.getMinimum() + YEARS_DIFFERENCE, range.getMaximum() + YEARS_DIFFERENCE); in range()
|
D | MinguoDate.java | 264 …long max = (getProlepticYear() <= 0 ? -range.getMinimum() + 1 + YEARS_DIFFERENCE : range.getMaximu… in range()
|
D | ThaiBuddhistDate.java | 264 …long max = (getProlepticYear() <= 0 ? -(range.getMinimum() + YEARS_DIFFERENCE) + 1 : range.getMaxi… in range()
|
D | ChronoPeriodImpl.java | 251 return startRange.getMaximum() - startRange.getMinimum() + 1; in monthRange()
|
D | JapaneseChronology.java | 419 … return ValueRange.of(jcal.getMinimum(fieldIndex), jcal.getGreatestMinimum(fieldIndex), in range()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 125 assertEquals(year.getMinimum(), 1300, "Minimum year"); in Test_UmmAlQuraChronoRange() 131 assertEquals(month.getMinimum(), 1, "Minimum month"); in Test_UmmAlQuraChronoRange() 137 assertEquals(day.getMinimum(), 1, "Minimum day"); in Test_UmmAlQuraChronoRange() 166 assertEquals(yearRange.getMinimum(), minYear, "Minimum year for Hijrah chronology"); in Test_UmmAlQuraRanges() 172 assertEquals(monthRange.getMinimum(), minMonth, "Minimum month for Hijrah chronology"); in Test_UmmAlQuraRanges() 176 assertEquals(daysRange.getMinimum(), minDay, "Minimum day for chronology"); in Test_UmmAlQuraRanges() 181 assertEquals(yearRange.getMinimum(), minYear, "Minimum year for Hijrah date"); in Test_UmmAlQuraRanges() 187 assertEquals(monthRange.getMinimum(), minMonth, "Minimum month for HijrahDate"); in Test_UmmAlQuraRanges() 191 assertEquals(daysRange.getMinimum(), minDay, "Minimum day for HijrahDate"); in Test_UmmAlQuraRanges() 206 (int)monthRange.getMinimum(), (int)dayRange.getMinimum()); in test_hijrahDateLimits()
|
D | TestJapaneseChronoImpl.java | 144 …assertEquals(jd.range(ChronoField.DAY_OF_YEAR).getMinimum(), cal.getActualMinimum(Calendar.DAY_OF_… in test_dayOfYearVsCalendar()
|
D | TestJapaneseChronology.java | 207 assertEquals(range.getMinimum(), minSmallest); in test_range()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPermissions.java | 57 CryptoPermissions getMinimum(CryptoPermissions other) { return null; } in getMinimum() method in CryptoPermissions
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKJapaneseEra.java | 117 assertEquals(era.range(ERA).getMinimum(), -1); in test_range()
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 571 int min = getMinimum(field); in roll() 667 } else if (year == getMinimum(YEAR)) { in roll() 761 } else if (year == getMinimum(YEAR)) { in roll() 779 if (year != getMinimum(YEAR)) { in roll() 1067 public int getMinimum(int field) { in getMinimum() method in JapaneseImperialCalendar 1171 return getMinimum(field); in getActualMinimum() 1198 value = getMinimum(field); in getActualMinimum() 1351 } else if (date.getYear() == getMinimum(YEAR)) { in getActualMaximum() 1375 } else if (date.getEra() == null && date.getYear() == getMinimum(YEAR)) { in getActualMaximum() 1861 if (value < getMinimum(field) || value > getMaximum(field)) { in computeTime() [all …]
|
D | GregorianCalendar.java | 1182 int min = getMinimum(field); in roll() 1544 public int getMinimum(int field) { in getMinimum() method in GregorianCalendar 1707 return getMinimum(field); in getActualMinimum() 2661 if (value < getMinimum(field) || value > getMaximum(field)) { in computeTime()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 998 {NANO_OF_SECOND, time(0, 0, 0, 0), NANO_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1001 {NANO_OF_DAY, time(0, 0, 0, 0), NANO_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1004 {MICRO_OF_SECOND, time(0, 0, 0, 0), MICRO_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1007 {MICRO_OF_DAY, time(0, 0, 0, 0), MICRO_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1010 {MILLI_OF_SECOND, time(0, 0, 0, 0), MILLI_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1013 {MILLI_OF_DAY, time(0, 0, 0, 0), MILLI_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1016 {SECOND_OF_MINUTE, time(0, 0, 0, 0), SECOND_OF_MINUTE.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1019 {SECOND_OF_DAY, time(0, 0, 0, 0), SECOND_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1022 {MINUTE_OF_HOUR, time(0, 0, 0, 0), MINUTE_OF_HOUR.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() 1025 {MINUTE_OF_DAY, time(0, 0, 0, 0), MINUTE_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | GeneralSubtree.java | 113 public int getMinimum() { in getMinimum() method in GeneralSubtree
|
D | NameConstraintsExtension.java | 95 if (subtree.getMinimum() != 0) in calcMinMax() 105 if (subtree.getMinimum() != 0) in calcMinMax()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 484 .getMinimum(Calendar.DAY_OF_MONTH)); in test_getMinimumI() 486 .getMinimum(Calendar.MONTH) == Calendar.JANUARY); in test_getMinimumI() 488 .getMinimum(Calendar.HOUR_OF_DAY)); in test_getMinimumI() 490 0, gc.getMinimum(Calendar.HOUR)); in test_getMinimumI() 496 if (gc.getMinimum(i) != min[i]) in test_getMinimumI()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 125 long value = invalidField.range().getMinimum(); in test_with_TemporalField_long_invalidField()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 144 public abstract int getMinimum(int field); in getMinimum() method in Calendar
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 412 public int getMinimum(int field) { in getMinimum() method in CalendarTest.FakeCalendar
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 334 public abstract int getMinimum(int field); in getMinimum() method in Calendar
|