Changeset 8337 for trunk/MagicSoft/Mars/mbase/MTime.h
- Timestamp:
- 02/28/07 13:34:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTime.h
r8066 r8337 64 64 } 65 65 MTime(Double_t mjd); 66 MTime(UShort_t y, Byte_t m, Byte_t d, Byte_t h=13, Byte_t min=0, Byte_t s=0, UShort_t ms=0, UInt_t ns=0); 66 67 MTime(const MTime& t) : MParContainer(), fMjd(t.fMjd), fTime(t.fTime), fNanoSec(t.fNanoSec) 67 68 { 68 69 Init(NULL, NULL); 69 70 } 71 72 //static Int_t Hour() { return 3600; } 73 //static Int_t Day() { return 3600;*24 } 70 74 71 75 void operator=(const MTime &t) … … 108 112 void GetDateOfSunrise(UShort_t &y, Byte_t &m, Byte_t &d) const; 109 113 TTime GetRootTime() const; 114 TDatime GetRootDatime() const; 110 115 Double_t GetAxisTime() const; 111 116 Double_t GetMoonPhase() const; … … 143 148 operator double() const; //[s] 144 149 double operator()() const; //[s] 150 151 Double_t AsDouble() const { return GetMjd(); } 152 //const char *AsString() const { return GetString(); } 153 //const char *AsSQLString() const { return GetSqldateTime(); } 145 154 146 155 // Calculation functions
Note:
See TracChangeset
for help on using the changeset viewer.