Home
last modified time | relevance | path

Searched refs:checkValidValue (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java291 HOUR_OF_DAY.checkValidValue(hour); in of()
295 MINUTE_OF_HOUR.checkValidValue(minute); in of()
312 HOUR_OF_DAY.checkValidValue(hour); in of()
316 MINUTE_OF_HOUR.checkValidValue(minute); in of()
317 SECOND_OF_MINUTE.checkValidValue(second); in of()
334 HOUR_OF_DAY.checkValidValue(hour); in of()
335 MINUTE_OF_HOUR.checkValidValue(minute); in of()
336 SECOND_OF_MINUTE.checkValidValue(second); in of()
337 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in of()
375 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay()
[all …]
DLocalDate.java240 YEAR.checkValidValue(year); in of()
242 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
260 YEAR.checkValidValue(year); in of()
261 MONTH_OF_YEAR.checkValidValue(month); in of()
262 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
280 YEAR.checkValidValue(year); in ofYearDay()
281 DAY_OF_YEAR.checkValidValue(dayOfYear); in ofYearDay()
1017 f.checkValidValue(newValue); in with()
1054 YEAR.checkValidValue(year); in withYear()
1073 MONTH_OF_YEAR.checkValidValue(month); in withMonth()
DYearMonth.java220 YEAR.checkValidValue(year); in of()
221 MONTH_OF_YEAR.checkValidValue(month); in of()
679 f.checkValidValue(newValue); in with()
703 YEAR.checkValidValue(year); in withYear()
717 MONTH_OF_YEAR.checkValidValue(month); in withMonth()
DYear.java220 YEAR.checkValidValue(isoYear); in of()
616 f.checkValidValue(newValue); in with()
DMonthDay.java213 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
DInstant.java701 f.checkValidValue(newValue); in with()
DLocalDateTime.java412 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in ofEpochSecond()
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java339 … range().checkValidValue(newValue, this); // leniently check from 1 to 92 TODO: check in adjustInto()
362 … rangeRefinedBy(date).checkValidValue(doq, this); // only allow exact range in resolve()
364 … range().checkValidValue(doq, this); // allow 1-92 rolling into next quarter in resolve()
409 range().checkValidValue(newValue, this); // strictly check from 1 to 4 in adjustInto()
463 range().checkValidValue(newValue, this); // lenient range in adjustInto()
492 … getWeekRange(date).checkValidValue(wowby, this); // only allow exact range in resolve()
494 … range().checkValidValue(wowby, this); // allow 1-53 rolling into next year in resolve()
DChronoField.java729 public long checkValidValue(long value) { in checkValidValue() method in ChronoField
730 return range().checkValidValue(value, this); in checkValidValue()
DJulianFields.java298 range().checkValidValue(value, this); in resolve()
DValueRange.java309 public long checkValidValue(long value, TemporalField field) { in checkValidValue() method in ValueRange
/libcore/ojluni/src/main/java/java/time/chrono/
DIsoChronology.java500 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth()
512 YEAR_OF_ERA.checkValidValue(yoeLong); in resolveYearOfEra()
537 ERA.checkValidValue(fieldValues.get(ERA)); // always validated in resolveYearOfEra()
DThaiBuddhistDate.java313 getChronology().range(f).checkValidValue(newValue, f); in with()
DMinguoDate.java313 getChronology().range(f).checkValidValue(newValue, f); in with()
DAbstractChronology.java502 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth()
546 range(ERA).checkValidValue(fieldValues.get(ERA), ERA); // always validated in resolveYearOfEra()
DHijrahDate.java392 chrono.range(f).checkValidValue(newValue, f); // TODO: validate value in with()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java149 CopticChronology.MOY_RANGE.checkValidValue(month, MONTH_OF_YEAR); in CopticDate()
156 range.checkValidValue(dayOfMonth, DAY_OF_MONTH); in CopticDate()
236 f.checkValidValue(newValue); // TODO: validate value in with()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java695 checkValidValue("Set-Cookie:", "val,ue"); in test_Parse()
696 checkValidValue("Set-Cookie:", "val\nue"); in test_Parse()
697 checkValidValue("Set-Cookie:", "value=value"); in test_Parse()
698 checkValidValue("Set-Cookie2:", "val\nue"); in test_Parse()
699 checkValidValue("Set-Cookie2:", "val\u2029ue"); in test_Parse()
700 checkValidValue("Set-Cookie2:", "value=value"); in test_Parse()
1012 private void checkValidValue(String header, String value) {