I try to parse time formating string ,now when I parse string \"2014-01-07 95:25:37\" , it return a date ,not throw ParseException . who know how to let it throw ParseExcept
The cause of the problem is the time : 95:25:37 . Java tries to add this extra time to your days ,hence you are get additional 3 days.
To prevent java from doing so, you can use the following :
ft.setLenient(false);