Fixata visualizzazione date cena
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user