Fixata visualizzazione date cena

This commit is contained in:
Simone Argenziano
2013-12-18 20:07:43 +01:00
parent b43016364a
commit dd510bb197

View File

@@ -150,7 +150,7 @@ public class Catalogo{
String temp3[]; String temp3[];
String marcatore2="/"; String marcatore2="/";
temp3 = data3.split(marcatore2); temp3 = data3.split(marcatore2);
GregorianCalendar dataScadCena = new GregorianCalendar((Integer.parseInt(temp3[2])),(Integer.parseInt(temp3[1])),(Integer.parseInt(temp3[0]))); GregorianCalendar dataScadCena = new GregorianCalendar((Integer.parseInt(temp3[2])),(Integer.parseInt(temp3[1]))-1,(Integer.parseInt(temp3[0])));
/*DateFormat format2 = new SimpleDateFormat( "dd/MM/yyyy" ); /*DateFormat format2 = new SimpleDateFormat( "dd/MM/yyyy" );
date = format2.parse(inputData.nextLine()); date = format2.parse(inputData.nextLine());
GregorianCalendar dataScadCena = new GregorianCalendar(); GregorianCalendar dataScadCena = new GregorianCalendar();