Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
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
13namespace 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.
Auxiliary classes and methods for mathematical operations.
Definition JEigen3D.hh:88
float min()
Get minimum possible value.
Definition JLimits.hh:96
TTimeStamp max()
Get maximum possible value.