I'm converting a String to Data
SimpleDateFormat dateFormat = new SimpleDateFormat("EE MMM dd HH:mm:ss z yyyy",
Locale.ENGLISH);
Date convertDate = new Date();
String dd = c.getString(c.getColumnIndex("DATA_NOTICIA");
try{
convertDate = dateFormat.parse(dd);
}catch(ParseException e){
e.printStackTrace();
}
And passing it to a listView, in the listView it looks like this: Wed Jul 13 16:52:48 GMT 2016
Can you translate this date into Portuguese?
I did not find a way, did anyone ever go through this?