Searched defs:lenient (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
H A DDateFormat.java368 * <p> By default, parsing is lenient: If the input is not in the form used
668 * Specify whether or not date/time parsing is to be lenient. With
669 * lenient parsing, the parser may use heuristics to interpret inputs that
675 * getCalendar().setLenient(lenient)
681 * @param lenient when {@code true}, parsing is lenient
684 public void setLenient(boolean lenient) argument
686 calendar.setLenient(lenient);
690 * Tell whether date/time parsing is to be lenient.
696 * @return {@code true} if the {@link #calendar} is lenient;
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DCalendar.java107 * fields, <em>lenient</em> and <em>non-lenient</em>. When a
108 * <code>Calendar</code> is in lenient mode, it accepts a wider range of
111 * the calendar fields are normalized. For example, a lenient
115 * <p>When a <code>Calendar</code> is in non-lenient mode, it throws an
119 * non-lenient <code>GregorianCalendar</code> throws an exception upon
358 // the Calendar is lenient, the fields are also renormalized to standard
809 private boolean lenient = true; field in class:Calendar
1127 * Returns the value of the given calendar field. In lenient mode,
1128 * all calendar fields are normalized. In non-lenient mod
2114 setLenient(boolean lenient) argument
[all...]

Completed in 50 milliseconds