--- On Sat, 3/13/10, Jacopo Cappellato <[email protected]>
wrote:
> On Mar 13, 2010, at 6:48 AM, Adrian Crum wrote:
>
> >
> > Understanding the difference between wall clock time
> and elapsed time is especially important in manufacturing.
> They are completely different, and manufacturing depends on
> both.
> >
> > The problem with the test is it advances the wall
> clock, then compares elapsed time. They are not the same -
> the test is comparing apples to oranges.
> >
> 4) the above two dates are used as starting dates for the
> tasks and the ending dates are determined; the test asks
> that the differences between the ending date and starting
> date of first period and the ending date and starting date
> of the same period is the same
>
> Is this error caused when the DST is happening inside one
> of the time ranges computed in #4? This is what I
> understand...
That is correct.
Wall Clock Time = WCT
Elapsed Time = ET
2010-03-01 20:30 WCT plus 8 days WCT = 2010-03-09 20:30 WCT = 192 hours ET
2010-03-12 20:30 WCT plus 8 days WCT = 2010-03-20 20:30 WCT = 191 hours ET
2010-03-01 20:30 WCT plus 192 hours ET = 2010-03-09 20:30 WCT
2010-03-12 20:30 WCT plus 192 hours ET = 2010-03-20 19:30 WCT
-Adrian