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

/openjdk7/jdk/src/share/classes/java/text/
H A DDateFormat.java367 * <p> By default, parsing is lenient: If the input is not in the form used
657 * Specify whether or not date/time parsing is to be lenient. With
658 * lenient parsing, the parser may use heuristics to interpret inputs that
664 * getCalendar().setLenient(lenient)
670 * @param lenient when {@code true}, parsing is lenient
673 public void setLenient(boolean lenient) argument
675 calendar.setLenient(lenient);
679 * Tell whether date/time parsing is to be lenient.
685 * @return {@code true} if the {@link #calendar} is lenient;
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DCalendar.java108 * fields, <em>lenient</em> and <em>non-lenient</em>. When a
109 * <code>Calendar</code> is in lenient mode, it accepts a wider range of
112 * the calendar fields are normalized. For example, a lenient
116 * <p>When a <code>Calendar</code> is in non-lenient mode, it throws an
120 * non-lenient <code>GregorianCalendar</code> throws an exception upon
359 // the Calendar is lenient, the fields are also renormalized to standard
810 private boolean lenient = true; field in class:Calendar
1145 * Returns the value of the given calendar field. In lenient mode,
1146 * all calendar fields are normalized. In non-lenient mod
2131 setLenient(boolean lenient) argument
[all...]

Completed in 44 milliseconds