List of usage examples for java.text DateFormat isLenient
public boolean isLenient()
From source file:Main.java
public static void main(String[] argv) throws Exception { DateFormat dateFormat = DateFormat.getDateTimeInstance(); String s = dateFormat.format(new Date()); System.out.println(dateFormat.isLenient()); }