First cut at cycle time calculation

The cycle time is currently calendar days, non-working days such as
weekends aren't taken into account yet.