Is lenient
boolean isLenient()
- Tells whether date/time interpretation is to be lenient.
import java.util.Calendar;
public class Main{
public static void main(String[] argv){
System.out.println(Calendar.getInstance().isLenient());
}
}
The output:
true