Home
last modified time | relevance | path

Searched refs:getMinimum (Results 1 – 25 of 31) 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.java47 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/
DValueRange.java216 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/
DTestDateTimeValueRange.java95 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/
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.java264 …long max = (getProlepticYear() <= 0 ? -range.getMinimum() + 1 + YEARS_DIFFERENCE : range.getMaximu… in range()
DThaiBuddhistDate.java264 …long max = (getProlepticYear() <= 0 ? -(range.getMinimum() + YEARS_DIFFERENCE) + 1 : range.getMaxi… in range()
DChronoPeriodImpl.java251 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.java144 …assertEquals(jd.range(ChronoField.DAY_OF_YEAR).getMinimum(), cal.getActualMinimum(Calendar.DAY_OF_… in test_dayOfYearVsCalendar()
DTestJapaneseChronology.java207 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/test/java/time/tck/java/time/chrono/
DTCKJapaneseEra.java117 assertEquals(era.range(ERA).getMinimum(), -1); in test_range()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java571 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 …]
DGregorianCalendar.java1182 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/
DTCKLocalTime.java998 {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/
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/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.java412 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