changed postpon from 6 months to 5 years.
This commit is contained in:
parent
17115ac7ce
commit
b435bdbdc4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue