I have an arraylist which is providing us to string type date. I want to convert that string array into a date array; how can I do the conversion?
ArrayList<String> dates = new ArrayList<String>();
where I am getting value some thing like:
2015-11-09
2015-11-08
2015-11-07
2015-11-06
2015-11-10
I want to convert this into an ArrayList of Dates and return same value in same format.