From: Randy Kramer Date: 2005-09-28T22:23:13+09:00 Subject: Re: Time interval On Tuesday 27 September 2005 08:18 pm, Dave Howell wrote: > On Sep 27, 2005, at 6:58, Randy Kramer wrote: > > On Tuesday 27 September 2005 04:51 am, Robert Klemme wrote: > >> No, I mean because of the underlying model (our calendar). Months > >> have > >> different lengths. Same for years and quarters. > [text deleted] > > > Do others see the need for other approaches? > > There is no "answer" to this problem because the correct usage is > tremendously context sensitive. Thanks, you're right! > There are 58 shopping days until Christmas. > > The convention is in 8 weeks. (58 days = 8.2 weeks) > > Your work on the Monster House must be complete in 2 days, 12 hours, 14 > minutes, and 34.5 seconds. Good examples. Randy Kramer > The Date class (if I recall correctly) uses Days and fractions of Days > for the internal representation, and lets you access a variety of > interval measures. Which ones you use will depend very much on what > kind of events you're measuring the distance between.