[root] / trunk / core / base / inc / TTimeStamp.h Repository:
ViewVC logotype

Log of /trunk/core/base/inc/TTimeStamp.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 8846 byte(s)
Diff to previous 32404
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 32404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 25 12:06:10 2010 UTC (4 years, 10 months ago) by rdm
File length: 8836 byte(s)
Diff to previous 29770
add explicit cast from time_t to Int_t to silence warning VC9.

Revision 29770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 12 16:40:27 2009 UTC (5 years, 5 months ago) by rdm
File length: 8822 byte(s)
Diff to previous 24597
Remove following obsolete architectures:
linuxkcc, alphakcc, linuxia64sgi, linuxdeb2ppc, solariskcc, sgikcc and
linuxpgcc.

Revision 24597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 13:43:06 2008 UTC (6 years, 6 months ago) by rdm
File length: 8902 byte(s)
Diff to previous 22961
From Robert Hatcher:
add AsJulianDate() to return time stamp as Julian date.

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 8820 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8820 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8820 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8870 byte(s)
Diff to previous 18351
remove :$ from tag line

Revision 18351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 15:00:43 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8880 byte(s)
Diff to previous 16213
add new setter methods:
SetSec(int sec)
SetNanoSec(int nsec)

Revision 16213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 09:30:50 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8767 byte(s)
Diff to previous 16209
renamed GetValue() to AsDouble() for consistency.

Revision 16209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 06:25:28 2006 UTC (8 years, 4 months ago) by pcanal
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8764 byte(s)
Diff to previous 15134
From Maarten:
Move the implementation to operator double to a new function
TTimeStamp::GetValue so we can call it explicitly from TTreeFormula

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8707 byte(s)
Diff to previous 13300
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 13300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 11:17:18 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8712 byte(s)
Diff to previous 13258
coding style fixes.

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8742 byte(s)
Diff to previous 12128
White spaces and comments update

Revision 12128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 06:24:27 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8733 byte(s)
Diff to previous 12123
From Constantin Loizides
Use global Mutex instead of class static member

Revision 12123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 22 20:18:12 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8744 byte(s)
Diff to previous 11372
From Constantin Loizides

This patch implements:
- decentralized, automatic mutex initialization,
  see R__LOCKGUARD2 in TVirtualMutex
- PROOF parallel startup fixes
- more thread protection (in base, cont, meta, rest to be done)
- cleanups

From Eddy Offermann:
TString::Atoi and Atof are made const.

Revision 11372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 22:33:16 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8686 byte(s)
Diff to previous 9858
other small OpenBSD fix.

Revision 9858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 09:36:49 2004 UTC (10 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8664 byte(s)
Diff to previous 9852
add also GetMonth() on popular demand.

Revision 9852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 27 15:47:24 2004 UTC (10 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8589 byte(s)
Diff to previous 9418
add the new methods:

   Int_t        GetDayOfYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
   Int_t        GetDayOfWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
   Int_t        GetWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
   Bool_t       IsLeapYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;

and the new static utility functions:

   static Int_t   GetDayOfYear(Int_t day, Int_t month, Int_t year);
   static Int_t   GetDayOfWeek(Int_t day, Int_t month, Int_t year);
   static Int_t   GetWeek(Int_t day, Int_t month, Int_t year);

(IsLeapYear(Int_t year) already existed).

Revision 9418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 7 22:42:40 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 8079 byte(s)
Diff to previous 9036
add code to decode DOS encoded UInt_t time value.

Revision 9036 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 27 08:32:43 2004 UTC (10 years, 8 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7803 byte(s)
Diff to previous 7586
From Maarten:
bring TTimeStamp (micro and nanosecond (Win32)) precision to TStopwatch.

Revision 7586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 13 15:36:29 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7709 byte(s)
Diff to previous 5518
make time stamp setters public.

Revision 5518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 31 07:27:37 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7559 byte(s)
Diff to previous 4378
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.

Revision 4378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 18 23:17:43 2002 UTC (12 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7553 byte(s)
Diff to previous 4073
fix for MacOS X. Same disclaimer as in previous checkin.

Revision 4073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 15:45:57 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7498 byte(s)
Diff to previous 3946
correct typo's and missing comments in ClassDefs so the automatically generated
HTML index looks ok.

Revision 3946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 8 17:50:52 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7455 byte(s)
Diff to previous 3925
fix by Phil for linux/KCC.

Revision 3925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 7 18:05:19 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7378 byte(s)
Diff to previous 3873
remove double initialization.

Revision 3873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 5 10:46:13 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7392 byte(s)
Diff to previous 3829
add case for MacOS X.

Revision 3829 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 1 14:15:52 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7370 byte(s)
Diff to previous 3818
fix for Win32 (timespec is not defined in time.h).

Revision 3818 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Jan 31 14:09:25 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TTimeStamp.h
File length: 7265 byte(s)
new TTimeStamp class by Robert Hatcher. This class provides time stamp
functionality with nano second precision and in a timezone independent
format.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9