Home
last modified time | relevance | path

Searched refs:lenient (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)}, in provider_parseLenientSensitive()
223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)}, in provider_parseLenientSensitive()
224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)}, in provider_parseLenientSensitive()
225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)}, in provider_parseLenientSensitive()
226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)}, in provider_parseLenientSensitive()
229 {YEAR, 1, 4, 2000, "7A", 0, strict(1, 2007), lenient(1, 2007)}, in provider_parseLenientSensitive()
230 {YEAR, 2, 2, 2010, "8A", 0, strict(0, null), lenient(1, 8)}, in provider_parseLenientSensitive()
233 {YEAR, 2, 4, 2000, "-1", 0, strict(0, null), lenient(2, -1)}, in provider_parseLenientSensitive()
234 {YEAR, 2, 4, 2000, "-10", 0, strict(0, null), lenient(3, -10)}, in provider_parseLenientSensitive()
237 {YEAR, 2, 4, 2000, "+1", 0, strict(0, null), lenient(2, 1)}, in provider_parseLenientSensitive()
[all …]
DTestNonIsoFormatter.java197 public void test_lenientEraYear(Chronology chrono, String lenient, String strict) { in test_lenientEraYear() argument
204 … assertEquals(LocalDate.parse(lenient+mdStr, dtfLenient), LocalDate.parse(strict+mdStr, dtf)); in test_lenientEraYear()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java896 private boolean lenient = true; field in Calendar
1083 private boolean lenient = true; field in Calendar.Builder
1324 public Builder setLenient(boolean lenient) { in setLenient() argument
1325 this.lenient = lenient; in setLenient()
1505 cal.setLenient(lenient); in build()
2696 lenient == that.lenient && in equals()
2717 int otheritems = (lenient ? 1 : 0) in hashCode()
2920 public void setLenient(boolean lenient) in setLenient() argument
2922 this.lenient = lenient; in setLenient()
2934 return lenient; in isLenient()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java294 public void setLenient(boolean lenient) { in setLenient() argument
578 private boolean lenient = true; field in Calendar
655 public java.util.Calendar.Builder setLenient(boolean lenient) { in setLenient() argument
706 private boolean lenient = true; field in Calendar.Builder
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java724 public void setLenient(boolean lenient) in setLenient() argument
726 calendar.setLenient(lenient); in setLenient()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java124 public void setLenient(boolean lenient) { throw new RuntimeException("Stub!"); } in setLenient() argument
295 @libcore.util.NonNull public java.util.Calendar.Builder setLenient(boolean lenient) { throw new Run… in setLenient() argument
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java103 public void setLenient(boolean lenient) { throw new RuntimeException("Stub!"); } in setLenient() argument
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java150 public void setLenient(boolean lenient) { in setLenient() argument
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java100 public void setLenient(boolean lenient) { throw new RuntimeException("Stub!"); } in setLenient() argument