From: stephan b. <st...@s1...> - 2004-12-28 20:59:56
|
On Tuesday 28 December 2004 21:41, Christian Prochnow wrote: > are you fine with current SystemClock interface ? Absolutely. i like the idea you mentioned earlier about timers. Here's an easy-to-implement option which doesn't need full timer support but still would be useful... something like: static TimeSpan timeDiff( const DateTime &, const DateTime & ); plus an overload with just Time and just Date? Or maybe just put that in DateTime? Don't know where they really belong. The intended usage would be : Time t = SystemClock::now(); ... do something ... Time t2 = SystemClock::now(); ... get diff ... > Since DateTime inherits from Date and Time there is no need for > currentTime() and today(). Agreed completely -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |