How can i parse the following string 2000-05-12T12:00
to year, month, date, hourOfDay, minute, second?
I know to parse split it in "-" but there is efficient way to date for all the value?
I saw the solution like SimpleDateFormat parserSDF=new SimpleDateFormat("EEE MMM d HH:mm:ss zzz yyyy");
but I need to update it to java calendar and i dont know how to do that?