changed postpon from 6 months to 5 years.

This commit is contained in:
Massimiliano Assante 2021-10-13 16:27:20 +02:00
parent 17115ac7ce
commit b435bdbdc4
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ public class VREManagerServiceImpl extends RemoteServiceServlet implements VREDe
VREGeneratorEvo evo = new VREGeneratorEvo(session, vreId); VREGeneratorEvo evo = new VREGeneratorEvo(session, vreId);
VREDescription vre = evo.getVREModel(); VREDescription vre = evo.getVREModel();
Calendar endTime = vre.endTime(); Calendar endTime = vre.endTime();
endTime.set(Calendar.MONTH, (endTime.get(Calendar.MONTH)+6)); endTime.set(Calendar.YEAR, (endTime.get(Calendar.YEAR)+5));
vre.endTime(endTime); vre.endTime(endTime);
evo.setVREModel(vre.name(), vre.description(), vre.designer(), vre.manager(), vre.startTime().getTimeInMillis(), endTime.getTimeInMillis()); evo.setVREModel(vre.name(), vre.description(), vre.designer(), vre.manager(), vre.startTime().getTimeInMillis(), endTime.getTimeInMillis());
return true; return true;