For example:
if you have a String "Fri Feb 28 00:00:00 UYT 2025".
You can do:
Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", new Locale("en", "en_US")).parse("Fri Feb 28 00:00:00 UYT 2025");
"Locale" depends of "language" of string value, in this case is "en".