Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Including remaining hours method
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sl-eng committed Sep 28, 2012
1 parent 77e1ad0 commit fd56a34
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -192,5 +192,14 @@ public int getPercentUntranslated()
return (int) Math.ceil(per);
}
}

@XmlTransient
public double getRemainingHours()
{
double untransHours = getUntranslated() / 250.0;
double fuzzyHours = getNeedReview() / 500.0;
double remainHours = untransHours + fuzzyHours;
return remainHours;
}

}

0 comments on commit fd56a34

Please sign in to comment.