Ignore:
Timestamp:
05/05/04 01:11:26 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTime.cc

    r3967 r3968  
    194194    const UInt_t   ns   = (UInt_t)fmod(frac*1e6, 1000000);
    195195
    196     Set(mjd, (ULong_t)TMath::Floor(frac), ns);
     196    SetMjd(mjd, (ULong_t)TMath::Floor(frac), ns);
    197197}
    198198
     
    203203Bool_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)
    204204{
     205    cout << "SET" << endl;
    205206    if (h>23 || min>59 || s>59 || ms>999 || ns>999999)
    206207        return kFALSE;
     
    212213    const ULong_t tm = ((((h*60+min)*60)+s)*1000)+ms;
    213214
    214     return Set(mjd, tm, ns);
     215    return SetMjd(mjd, tm, ns);
    215216}
    216217
     
    225226    const UInt_t ms  = tv.tv_usec%1000;
    226227
    227     Set(mjd, tm, ms*1000);
     228    SetMjd(mjd, tm, ms*1000);
    228229}
    229230
Note: See TracChangeset for help on using the changeset viewer.