I'm using date format object:
SimpleDateFormat dateFormatSearch = SimpleDateFormat("dd-MMM-yyyy HH:mm", Locale.getDefault());
And try to parse a string:
Date dateForm = dateFormatSearch.parse("29-Oct-2018 00:01");
It shows me the following error:
java.text.ParseException: Unparseable date: "29-Oct-2018 00:01"
Can anybody help? It seems to me I've got good pattern for such string.