private final static SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat("ddMMMyy", Locale.ENGLISH);  //method 1
private static  Date getSimpleDate(String sDate) throws ParseException{
    SimpleDateFormat F = new  SimpleDateFormat("ddMMMyy", Locale.ENGLISH);
    System.out.println("pDAte:"+ F.parse(sDate).toString());
    return F.parse(sDate);
} //[method 2]
private static ThreadLocal<SimpleDateFormat> dateFormat = new ThreadLocal<SimpleDateFormat>() { 
    @Override
    protected SimpleDateFormat initialValue() {
        return new SimpleDateFormat("ddMMMyy", Locale.ENGLISH);// [method 3]
    }
};  //method3
private final static DateTimeFormatter DATE_FORMATTER = 
        new DateTimeFormatterBuilder().parseCaseInsensitive()
                                      .appendPattern("ddMMMyy")
                                      .toFormatter();  //[method 4]
When I parsed a Date by using method 1 I faced more exception ,
java.lang.NumberFormatException: For input at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
and
java.lang.NumberFormatException: For input string: ".1818E2.1818E2" 
            at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
first my question: this value ".1818E2.1818E2" I don't set this value, but I face. Where is coming value. Although I am setting date value a way correct with correct format, I face this problem.
But other methods ( method2,method3,method4) is work. and solved the problems. This three method are alternative solution included. Second my question, What is among differences this methods.
public Date getDscDateAsDate() throws ParseException {
    if(getDscDate()!=null) {
        return SIMPLE_DATE_FORMAT.parse(getDscDate());
    }
    return null;                
}
 
     
    