Jpp  17.1.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JROOT/JMathSupportkit.hh
Go to the documentation of this file.
1 #ifndef __JROOT__JMATHSUPPORTKIT__
2 #define __JROOT__JMATHSUPPORTKIT__
3 
4 #include "TTimeStamp.h"
5 
6 #include "JMath/JLimits.hh"
7 
8 
9 /**
10  * \author mdejong
11  */
12 
13 namespace JMATH {
14 
15  /**
16  * Get minimum possible value.
17  *
18  * Data taken from ROOT reference guide.
19  *
20  * \return minimum possible value
21  */
22  template<>
23  inline TTimeStamp JLimits<TTimeStamp>::min()
24  {
25  return TTimeStamp(1970, 01, 01, 00, 00, 00);
26  }
27 
28 
29  /**
30  * Get maximum possible value.
31  *
32  * Data taken from ROOT reference guide.
33  *
34  * \return maximum possible value
35  */
36  template<>
37  inline TTimeStamp JLimits<TTimeStamp>::max()
38  {
39  return TTimeStamp(2038, 01, 18, 19, 14, 07);
40  }
41 }
42 
43 #endif
Definition of minimum and maximum values for any class.
float min()
Definition: JLimits.hh:96