Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java292 HOUR_OF_DAY.checkValidValue(hour); in of()
296 MINUTE_OF_HOUR.checkValidValue(minute); in of()
313 HOUR_OF_DAY.checkValidValue(hour); in of()
317 MINUTE_OF_HOUR.checkValidValue(minute); in of()
318 SECOND_OF_MINUTE.checkValidValue(second); in of()
335 HOUR_OF_DAY.checkValidValue(hour); in of()
336 MINUTE_OF_HOUR.checkValidValue(minute); in of()
337 SECOND_OF_MINUTE.checkValidValue(second); in of()
338 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in of()
376 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay()
[all …]
DLocalDate.java245 YEAR.checkValidValue(year); in of()
247 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
265 YEAR.checkValidValue(year); in of()
266 MONTH_OF_YEAR.checkValidValue(month); in of()
267 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
285 YEAR.checkValidValue(year); in ofYearDay()
286 DAY_OF_YEAR.checkValidValue(dayOfYear); in ofYearDay()
338 EPOCH_DAY.checkValidValue(epochDay); in ofEpochDay()
1045 chronoField.checkValidValue(newValue); in with()
1082 YEAR.checkValidValue(year); in withYear()
[all …]
DYearMonth.java221 YEAR.checkValidValue(year); in of()
222 MONTH_OF_YEAR.checkValidValue(month); in of()
679 chronoField.checkValidValue(newValue); in with()
703 YEAR.checkValidValue(year); in withYear()
717 MONTH_OF_YEAR.checkValidValue(month); in withMonth()
DYear.java222 YEAR.checkValidValue(isoYear); in of()
616 chronoField.checkValidValue(newValue); in with()
DMonthDay.java214 DAY_OF_MONTH.checkValidValue(dayOfMonth); in of()
DInstant.java700 chronoField.checkValidValue(newValue); in with()
DLocalDateTime.java413 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in ofEpochSecond()
/libcore/ojluni/src/main/java/java/time/chrono/
DIsoChronology.java294 YEAR.checkValidValue(prolepticYear); in epochSecond()
295 MONTH_OF_YEAR.checkValidValue(month); in epochSecond()
296 DAY_OF_MONTH.checkValidValue(dayOfMonth); in epochSecond()
297 HOUR_OF_DAY.checkValidValue(hour); in epochSecond()
298 MINUTE_OF_HOUR.checkValidValue(minute); in epochSecond()
299 SECOND_OF_MINUTE.checkValidValue(second); in epochSecond()
594 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth()
606 YEAR_OF_ERA.checkValidValue(yoeLong); in resolveYearOfEra()
631 ERA.checkValidValue(fieldValues.get(ERA)); // always validated in resolveYearOfEra()
DChronology.java742 HOUR_OF_DAY.checkValidValue(hour); in epochSecond()
743 MINUTE_OF_HOUR.checkValidValue(minute); in epochSecond()
744 SECOND_OF_MINUTE.checkValidValue(second); in epochSecond()
DMinguoDate.java313 getChronology().range(chronoField).checkValidValue(newValue, chronoField); in with()
DThaiBuddhistDate.java313 getChronology().range(chronoField).checkValidValue(newValue, chronoField); in with()
DAbstractChronology.java472 PROLEPTIC_MONTH.checkValidValue(pMonth); in resolveProlepticMonth()
516 range(ERA).checkValidValue(fieldValues.get(ERA), ERA); // always validated in resolveYearOfEra()
DHijrahDate.java392 … chrono.range(chronoField).checkValidValue(newValue, chronoField); // TODO: validate value in with()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java389 CLOCK_HOUR_OF_DAY.checkValidValue(ch); in resolveTimeFields()
397 CLOCK_HOUR_OF_AMPM.checkValidValue(ch); in resolveTimeFields()
407 AMPM_OF_DAY.checkValidValue(ap); in resolveTimeFields()
408 HOUR_OF_AMPM.checkValidValue(hap); in resolveTimeFields()
415 NANO_OF_DAY.checkValidValue(nod); in resolveTimeFields()
425 MICRO_OF_DAY.checkValidValue(cod); in resolveTimeFields()
433 MILLI_OF_DAY.checkValidValue(lod); in resolveTimeFields()
441 SECOND_OF_DAY.checkValidValue(sod); in resolveTimeFields()
450 MINUTE_OF_DAY.checkValidValue(mod); in resolveTimeFields()
460 NANO_OF_SECOND.checkValidValue(nos); in resolveTimeFields()
[all …]
DDateTimeFormatterBuilder.java3328 range.checkValidValue(value, field); in convertToFraction()
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java346 … range().checkValidValue(newValue, this); // leniently check from 1 to 92 TODO: check in adjustInto()
369 … rangeRefinedBy(date).checkValidValue(doq, this); // only allow exact range in resolve()
371 … range().checkValidValue(doq, this); // allow 1-92 rolling into next quarter in resolve()
422 range().checkValidValue(newValue, this); // strictly check from 1 to 4 in adjustInto()
485 range().checkValidValue(newValue, this); // lenient range in adjustInto()
514 … getWeekRange(date).checkValidValue(wowby, this); // only allow exact range in resolve()
516 … range().checkValidValue(wowby, this); // allow 1-53 rolling into next year in resolve()
DChronoField.java762 public long checkValidValue(long value) { in checkValidValue() method in ChronoField
763 return range().checkValidValue(value, this); in checkValidValue()
DJulianFields.java302 range().checkValidValue(value, this); in resolve()
DValueRange.java317 public long checkValidValue(long value, TemporalField field) { in checkValidValue() method in ValueRange
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java150 CopticChronology.MOY_RANGE.checkValidValue(month, MONTH_OF_YEAR); in CopticDate()
157 range.checkValidValue(dayOfMonth, DAY_OF_MONTH); in CopticDate()
237 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) {
/libcore/api/
Dcurrent.txt12765 method public long checkValidValue(long);
12940 method public long checkValidValue(long, java.time.temporal.TemporalField);