Lines Matching defs:lenient

108  * 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;
1145 * Returns the value of the given calendar field. In lenient mode,
1146 * all calendar fields are normalized. In non-lenient mode, all
1204 * in non-lenient mode.
1406 * or if this <code>Calendar</code> is non-lenient and any
1466 * or if this <code>Calendar</code> is non-lenient and any
1909 lenient == that.lenient &&
1916 // even it's in lenient mode.
1929 int otheritems = (lenient ? 1 : 0)
2120 * Specifies whether or not date/time interpretation is to be lenient. With
2121 * lenient interpretation, a date such as "February 942, 1996" will be
2123 * With strict (non-lenient) interpretation, such dates will cause an exception to be
2124 * thrown. The default is lenient.
2126 * @param lenient <code>true</code> if the lenient mode is to be turned
2131 public void setLenient(boolean lenient)
2133 this.lenient = lenient;
2137 * Tells whether date/time interpretation is to be lenient.
2139 * @return <code>true</code> if the interpretation mode of this calendar is lenient;
2145 return lenient;
2259 * weekOfYear} values are adjusted in lenient mode, or an {@code
2260 * IllegalArgumentException} is thrown in non-lenient mode.
2273 * with the given date specifiers in non-lenient mode
2556 buffer.append(",lenient=").append(lenient);