Good day I want to declare this but it turns out that the date type is ambiguous to which this error should be generated?
Ha tenido lugar un error en la línea: [43] The type Date is ambiguous
40: mes=Integer.parseInt(fecha.substring(3, 5))-1;
41: anio=Integer.parseInt(fecha.substring(6, 10));
42:
43: startDate: new Date(anio, mes, dia);
44: endDate: new Date(anio, mes, dia);