From: Christian P. <cp...@se...> - 2004-12-28 20:40:58
|
Am Dienstag 28 Dezember 2004 18:38 schrieb stephan beal: > On Tuesday 28 December 2004 18:27, Christian Prochnow wrote: > > I'm adding a 'SystemClock' class or similar to the System namespace > > which can be used to retrieve system time. > > > > Which class name would you recommend ? > > Great :). i think SystemClock is fine. That opens up the door for > abstractions like NetworkTimeServer :). > > Would you please add these functions to it: > > static const Time currentTime(); > static const Date today(); > static const DateTime now(); > > ? Stephan, are you fine with current SystemClock interface ? Since DateTime inherits from Date and Time there is no need for currentTime() and today(). Greetings |