/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 290 HOUR_OF_DAY.checkValidValue(hour); in of() 294 MINUTE_OF_HOUR.checkValidValue(minute); in of() 311 HOUR_OF_DAY.checkValidValue(hour); in of() 315 MINUTE_OF_HOUR.checkValidValue(minute); in of() 316 SECOND_OF_MINUTE.checkValidValue(second); in of() 333 HOUR_OF_DAY.checkValidValue(hour); in of() 334 MINUTE_OF_HOUR.checkValidValue(minute); in of() 335 SECOND_OF_MINUTE.checkValidValue(second); in of() 336 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in of() 352 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay() [all …]
|
D | LocalDate.java | 240 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()
|
D | YearMonth.java | 220 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()
|
D | Year.java | 220 YEAR.checkValidValue(isoYear); in of() 616 f.checkValidValue(newValue); in with()
|
D | MonthDay.java | 213 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
|
D | Instant.java | 701 f.checkValidValue(newValue); in with()
|
D | LocalDateTime.java | 412 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in ofEpochSecond()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 374 CLOCK_HOUR_OF_DAY.checkValidValue(ch); in resolveTimeFields() 382 CLOCK_HOUR_OF_AMPM.checkValidValue(ch); in resolveTimeFields() 392 AMPM_OF_DAY.checkValidValue(ap); in resolveTimeFields() 393 HOUR_OF_AMPM.checkValidValue(ap); in resolveTimeFields() 400 NANO_OF_DAY.checkValidValue(nod); in resolveTimeFields() 410 MICRO_OF_DAY.checkValidValue(cod); in resolveTimeFields() 418 MILLI_OF_DAY.checkValidValue(lod); in resolveTimeFields() 426 SECOND_OF_DAY.checkValidValue(sod); in resolveTimeFields() 435 MINUTE_OF_DAY.checkValidValue(mod); in resolveTimeFields() 445 NANO_OF_SECOND.checkValidValue(nos); in resolveTimeFields() [all …]
|
D | DateTimeFormatterBuilder.java | 3030 range.checkValidValue(value, field); in convertToFraction()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 339 … 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()
|
D | ChronoField.java | 729 public long checkValidValue(long value) { in checkValidValue() method in ChronoField 730 return range().checkValidValue(value, this); in checkValidValue()
|
D | JulianFields.java | 298 range().checkValidValue(value, this); in resolve()
|
D | ValueRange.java | 309 public long checkValidValue(long value, TemporalField field) { in checkValidValue() method in ValueRange
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | IsoChronology.java | 500 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth() 512 YEAR_OF_ERA.checkValidValue(yoeLong); in resolveYearOfEra() 537 ERA.checkValidValue(fieldValues.get(ERA)); // always validated in resolveYearOfEra()
|
D | MinguoDate.java | 313 getChronology().range(f).checkValidValue(newValue, f); in with()
|
D | ThaiBuddhistDate.java | 313 getChronology().range(f).checkValidValue(newValue, f); in with()
|
D | AbstractChronology.java | 502 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth() 546 range(ERA).checkValidValue(fieldValues.get(ERA), ERA); // always validated in resolveYearOfEra()
|
D | HijrahDate.java | 392 chrono.range(f).checkValidValue(newValue, f); // TODO: validate value in with()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 149 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/ |
D | HttpCookieTest.java | 695 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) {
|