To remove the warning just add Locale.getDefault() as the second argument while instantiating the date format object.
Eg.
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss",
java.util.Locale.getDefault());
To remove the warning just add Locale.getDefault() as the second argument while instantiating the date format object.
Eg.
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss",
java.util.Locale.getDefault());