I have an array list with string and I would like to convert it in Date. Seems 'parse' cannot be used to do this, within the following piece of code:
List<String> eventsList = Arrays.asList("2015-06-02 00:15", "2015-06-02 22:15", "2015-06-03 00:18");
List<Date> eventsDate = new SimpleDateFormat("y-M-d H:m").parse(eventsList);
But that doesn't work.
Could you help me please?