Examples of BurnDown


Examples of ch.bsgroup.scrumit.domain.BurnDown

    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
    List<BurnDown> bdList;
    try {
      bdList = burnDownChartDao.getBurnDown(sprintId, df.parse(df.format(new Date())));
      for (Iterator<BurnDown> iterator = bdList.iterator(); iterator.hasNext();) {
        BurnDown bd = iterator.next();
        bd.setOpen(bd.getOpen()+openDuration);
        bd.setDone(bd.getDone()+doneDuration);
      }
      burnDownChartDao.updateBurnDown(bdList);
    } catch (ParseException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of ch.bsgroup.scrumit.domain.BurnDown

        c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE));
      c.setTime(s.getEndDate())
      Calendar endCalendar = new GregorianCalendar(
        c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE));
      boolean writeBurnDown = false;
      BurnDown bd;
      if (startCalendar.compareTo(endCalendar) <= 0) {
        writeBurnDown = true;
      }
      while (startCalendar.compareTo(endCalendar) <= 0) {
        bd = new BurnDown(0, 0, sprint.getId(), startCalendar.getTime());
        bdList.add(bd);
        startCalendar.add(Calendar.DATE, 1);
      }
      if (writeBurnDown) {
        this.burnDownChartService.addBurnDownForSprint(bdList);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.