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
Home 
  Java Book 
    Essential Classes  

Calendar:
  1. Calendar class
  2. Constants value in Calendar
  3. Create new Calendar instance
  4. Get field value from Calendar
  5. Compare two Calendar values
  6. Calendar and display name
  7. Is lenient
  8. Add/set value to a field and get new calendar value
  9. Convert Calendar value to string value