Added helper method for computing TimeSpan from two timestamps.