Hi david, This problem had already been fixed. Take a recent version or wait for version 3.05/06 coming at the end of this week. Rene Brun On Tue, 15 Jul 2003, David Faden wrote: > Hi, > > Should a TDatime initialized with a UInt_t be identical in value to a > TDatime that has been Set to that same UInt_t? This doesn't appear to > be the case: > > root [0] UInt_t t = 1000 > root [1] TDatime d1(t) > root [2] d1.AsString() > (const char* 0x40c59620)"Wed Nov 30 00:15:40 1994" > root [3] TDatime d2 > root [4] d2.Set(t) > root [5] d2.AsString() > (const char* 0x40c59620)"Sat Dec 31 19:16:40 2033" > > If the above is the expected behavior, what is the crucial difference > between initializing to a certain value and Setting to a certain value? > > The above was run under ROOT version 3.01/05 13 March 2002 under Linux. > (Sorry, I'm unsure of the vendor -- probably Red Hat.) > > Thank you. > > David > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET