fix for compilation issue. Added conversion routine for time spans/durations
added conversion routine for TimeSpan to TimeDuration