00001 #ifndef CDBROOREADONLY_TIME_R_RDL
00002 #define CDBROOREADONLY_TIME_R_RDL
00003
00004
00005
00006
00007 #include "BdbTime/BdbTime.hh"
00008
00009 #include <Rtypes.h>
00010
00011
00012
00013
00014 class CdbRooRoTimeR {
00015
00016 public:
00017
00018 CdbRooRoTimeR( const BdbTime& theBdbTime = BdbTime::minusInfinity ) :
00019 _seconds ( theBdbTime.getGmtSec( )),
00020 _nanoseconds( theBdbTime.getGmtNsec( ))
00021 { }
00022
00023 BdbTime getBdbTime( ) const
00024 {
00025 return BdbTime( _seconds,
00026 _nanoseconds );
00027 }
00028
00029 private:
00030
00031 UInt_t _seconds;
00032 UInt_t _nanoseconds;
00033
00034 ClassDef(CdbRooRoTimeR,1);
00035 };
00036
00037 #endif