Beispiel | |
|
Lösung |
Fügen Sie immer ein Argument 'Locale' zur Deklaration einer Variablen 'SimpleDateFormat' hinzu.
|
public class ClassA { public void test () { Locale loc = Locale.US ; SimpleDateFormat sdf = new SimpleDateFormat("", loc); } } |