Home
last modified time | relevance | path

Searched refs:getMinimum (Results 1 – 25 of 32) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/time/chrono/
DThaiBuddhistChronologyTest.java47 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()
DMinguoChronologyTest.java49 ChronoField.PROLEPTIC_MONTH.range().getMinimum() - YEARS_BEHIND * 12L, in test_range()
56 -ChronoField.YEAR.range().getMinimum() + 1 + YEARS_BEHIND); in test_range()
60 expected = ValueRange.of(ChronoField.YEAR.range().getMinimum() - YEARS_BEHIND, in test_range()
109 assertEquals(ValueRange.of(1, -ChronoField.YEAR.range().getMinimum() + 1 + YEARS_BEHIND), in test_MinguoDate_range_yeaOfEra()
/libcore/ojluni/src/main/java/java/time/temporal/
DValueRange.java224 public long getMinimum() { in getMinimum() method in ValueRange
278 return getMinimum() >= Integer.MIN_VALUE && getMaximum() <= Integer.MAX_VALUE; in isIntValue()
290 return (value >= getMinimum() && value <= getMaximum()); in isValidValue()
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeValueRange.java96 assertEquals(test.getMinimum(), 1); in test_of_longlong()
106 assertEquals(test.getMinimum(), 1); in test_of_longlong_big()
124 assertEquals(test.getMinimum(), 1); in test_of_longlonglong()
168 assertEquals(test.getMinimum(), sMin); in test_of_longlonglonglong()
/libcore/ojluni/src/main/java/java/time/chrono/
DMinguoChronology.java318 …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()
DThaiBuddhistChronology.java354 …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()
DMinguoDate.java265 …long max = (getProlepticYear() <= 0 ? -range.getMinimum() + 1 + YEARS_DIFFERENCE : range.getMaximu… in range()
DThaiBuddhistDate.java265 …long max = (getProlepticYear() <= 0 ? -(range.getMinimum() + YEARS_DIFFERENCE) + 1 : range.getMaxi… in range()
DChronoPeriodImpl.java249 return startRange.getMaximum() - startRange.getMinimum() + 1; in monthRange()
DJapaneseChronology.java419 … return ValueRange.of(jcal.getMinimum(fieldIndex), jcal.getGreatestMinimum(fieldIndex), in range()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java125 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()
DTestJapaneseChronoImpl.java147 …assertEquals(jd.range(ChronoField.DAY_OF_YEAR).getMinimum(), cal.getActualMinimum(Calendar.DAY_OF_… in test_dayOfYearVsCalendar()
DTestJapaneseChronology.java191 assertEquals(range.getMinimum(), minSmallest); in test_range()
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPermissions.java57 CryptoPermissions getMinimum(CryptoPermissions other) { return null; } in getMinimum() method in CryptoPermissions
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java575 int min = getMinimum(field); in roll()
671 } else if (year == getMinimum(YEAR)) { in roll()
765 } else if (year == getMinimum(YEAR)) { in roll()
783 if (year != getMinimum(YEAR)) { in roll()
1075 public int getMinimum(int field) { in getMinimum() method in JapaneseImperialCalendar
1174 return getMinimum(field);
1200 value = getMinimum(field);
1335 } else if (date.getYear() == getMinimum(YEAR)) {
1354 } else if (date.getEra() == null && date.getYear() == getMinimum(YEAR)) {
1826 if (value < getMinimum(field) || value > getMaximum(field)) {
[all …]
DGregorianCalendar.java1183 int min = getMinimum(field); in roll()
1541 public int getMinimum(int field) { in getMinimum() method in GregorianCalendar
1690 return getMinimum(field); in getActualMinimum()
2622 if (value < getMinimum(field) || value > getMaximum(field)) { in computeTime()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseEra.java131 assertEquals(era.range(ERA).getMinimum(), -1); in test_range()
/libcore/ojluni/src/main/java/sun/security/x509/
DGeneralSubtree.java113 public int getMinimum() { in getMinimum() method in GeneralSubtree
DNameConstraintsExtension.java95 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/
DGregorianCalendarTest.java484 .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/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1026 {NANO_OF_SECOND, time(0, 0, 0, 0), NANO_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1029 {NANO_OF_DAY, time(0, 0, 0, 0), NANO_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1032 {MICRO_OF_SECOND, time(0, 0, 0, 0), MICRO_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1035 {MICRO_OF_DAY, time(0, 0, 0, 0), MICRO_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1038 {MILLI_OF_SECOND, time(0, 0, 0, 0), MILLI_OF_SECOND.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1041 {MILLI_OF_DAY, time(0, 0, 0, 0), MILLI_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1044 {SECOND_OF_MINUTE, time(0, 0, 0, 0), SECOND_OF_MINUTE.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1047 {SECOND_OF_DAY, time(0, 0, 0, 0), SECOND_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1050 {MINUTE_OF_HOUR, time(0, 0, 0, 0), MINUTE_OF_HOUR.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
1053 {MINUTE_OF_DAY, time(0, 0, 0, 0), MINUTE_OF_DAY.range().getMinimum() - 1}, in data_withTemporalField_outOfRange()
[all …]
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java125 long value = invalidField.range().getMinimum(); in test_with_TemporalField_long_invalidField()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java144 public abstract int getMinimum(int field); in getMinimum() method in Calendar
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java429 public int getMinimum(int field) { in getMinimum() method in CalendarTest.FakeCalendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java334 public abstract int getMinimum(int field); in getMinimum() method in Calendar

12