I am coding this with Groovy
I am currently trying to convert a string that I have to a date without having to do anything too tedious.
String theD
Date#parse is deprecated . The alternative is :
Date#parse
java.text.DateFormat#parse
thereFore :
new SimpleDateFormat("E MMM dd H:m:s z yyyy", Locale.ARABIC).parse(testDate)