Inicio soporte interfaz cambio mes y aniadir gestiones
This commit is contained in:
@@ -46,9 +46,11 @@ private ArrayList<Mes> meses;
|
||||
public void elegirMes(int anio, Month mes) {
|
||||
for(int i = 0; i < this.meses.size(); i++) {
|
||||
if(this.meses.get(i).getAnio()==anio && this.meses.get(i).getMes().equals(mes)) {
|
||||
this.mesActual = 0;
|
||||
this.mesActual = i;
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.meses.add(new Mes(new ArrayList<Gestion>(), anio, mes));
|
||||
}
|
||||
|
||||
public ArrayList<Gestion> getGestionesActuales(){
|
||||
|
||||
Reference in New Issue
Block a user