Re: TDatime constructors

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 15 1999 - 17:42:02 MEST


Hi George,
You can use the TDatime::Set functions
   virtual void         Set(Int_t date, Int_t time);
   virtual void         Set(Int_t year, Int_t month, Int_t day,
                            Int_t hour, Int_t min, Int_t sec);

Rene Brun

George Heintzelman wrote:
> 
> Root folks,
> 
> How come there is no constructor for TDatime which will let you *make*
> a TDatime object at a specified date and time? I want to be able to do:
> 
> if (mytime = TDatime(1995,01,01,00,00,00)) { Do stuff...}
> 
> George



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET