- Timestamp:
- 05/05/04 01:11:26 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTime.cc
r3967 r3968 194 194 const UInt_t ns = (UInt_t)fmod(frac*1e6, 1000000); 195 195 196 Set (mjd, (ULong_t)TMath::Floor(frac), ns);196 SetMjd(mjd, (ULong_t)TMath::Floor(frac), ns); 197 197 } 198 198 … … 203 203 Bool_t MTime::Set(UShort_t y, Byte_t m, Byte_t d, Byte_t h, Byte_t min, Byte_t s, UShort_t ms, UInt_t ns) 204 204 { 205 cout << "SET" << endl; 205 206 if (h>23 || min>59 || s>59 || ms>999 || ns>999999) 206 207 return kFALSE; … … 212 213 const ULong_t tm = ((((h*60+min)*60)+s)*1000)+ms; 213 214 214 return Set (mjd, tm, ns);215 return SetMjd(mjd, tm, ns); 215 216 } 216 217 … … 225 226 const UInt_t ms = tv.tv_usec%1000; 226 227 227 Set (mjd, tm, ms*1000);228 SetMjd(mjd, tm, ms*1000); 228 229 } 229 230
Note:
See TracChangeset
for help on using the changeset viewer.