// @(#)root/base:$Id: TTime.cxx 20877 2007-11-19 11:17:07Z rdm $ // Author: Fons Rademakers 28/11/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ ////////////////////////////////////////////////////////////////////////// // // // TTime // // // // Basic time type with millisecond precision. // // // ////////////////////////////////////////////////////////////////////////// #include "TTime.h" #include "TString.h" ClassImp(TTime) //______________________________________________________________________________ const char *TTime::AsString() const { // Return the time as a string. return Form("%lu", (ULong_t)fMilliSec); }