Please see
http://www2.icmarc.org/xp/plan3/pers/planning/calc/
.