Aniadido soporte para cambiar de mes

This commit is contained in:
2019-11-14 21:58:58 +01:00
parent 21203e9524
commit 86c642dba9
6 changed files with 39 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import java.util.Vector;
public class Gestion{
private Vector<Transaccion> gestiones;
private float suma;
private static float total;
private static float total = 0;
private Month mes;
private Year anio;
private boolean isPositivo;
@@ -15,7 +15,6 @@ public class Gestion{
public Gestion(String nombre, boolean isPositivo) {
this.gestiones = new Vector<Transaccion>();
this.suma = 0;
Gestion.total = 0;
this.nombre = nombre;
this.isPositivo = isPositivo;
}