Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 private static final SimpleDateFormat SDF_Simple = new SimpleDateFormat("yyyy-MM-dd"); try { System.out.println(SDF_Simple.parse("3333-33-33")); } catch (ParseException ex) { ex.printStackTrace(); JOptionPane.showMessageDialog(this, Utilities.getString("dateErrorNotValid")); return; }
résultat alors que normalement ca devrais me faire une erreur.
Mon Oct 03 00:00:00 CEST 3335
Pouvez vous m'expliquer ce comportement svp?
Partager