Esempio | |
|
Soluzione |
Aggiungere sempre un argomento Locale a una dichiarazione di variabile SimpleDateFormat
|
public class ClassA { public void test () { Locale loc = Locale.US ; SimpleDateFormat sdf = new SimpleDateFormat("", loc); } } |