Changeset 8379 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 03/17/07 14:10:49 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTime.cc
r8337 r8379 262 262 { 263 263 SetMjd(time*1000/kDay+49718); 264 } 265 266 // -------------------------------------------------------------------------- 267 // 268 // Set unix time (seconds since epoche 1970-01-01) 269 // 270 void MTime::SetUnixTime(Long_t tm) 271 { 272 SetMjd(1000.*tm/kDay+40587); 264 273 } 265 274 -
trunk/MagicSoft/Mars/mbase/MTime.h
r8337 r8379 98 98 void SetMjd(Double_t m); 99 99 void SetAxisTime(Double_t time); 100 void SetUnixTime(Long_t time); 100 101 void SetEaster(Short_t year=0); 101 102
Note:
See TracChangeset
for help on using the changeset viewer.