Skip to content

Commit

Permalink
feat: new TransfertArgent constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
hei-teacher committed Jul 8, 2024
1 parent d2fc8d4 commit 296d173
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public TransfertArgent(
new FluxArgent("Flux TransfertArgent entrant: " + nom, versArgent, debut, fin, fluxMensuel, dateOperation)));
}

public TransfertArgent(String nom, Argent depuis, Argent vers, LocalDate date, int montant) {
this(nom, depuis, vers, date, date, montant, date.getDayOfMonth());
}

@Override
public Possession projectionFuture(LocalDate tFutur) {
return transfertCommeGroupe.projectionFuture(tFutur);
Expand Down

0 comments on commit 296d173

Please sign in to comment.