3#ifndef FACILITIES_TIMESTAMP_H
4#define FACILITIES_TIMESTAMP_H
58 Timestamp(
long int seconds,
int nano = 0,
int tzOffset = 0 );
73 Timestamp(
const std::string& str,
int tzOffset = 0 );
76 Timestamp(
int year,
int month,
int day,
int hour = 0,
int minute = 0,
int second = 0,
89 return ( (
m_time < other.m_time ) ||
90 ( (
m_time == other.m_time ) && (
m_nano < other.m_nano ) ) );
106 return ( (
m_time == other.m_time ) && (
m_nano == other.m_nano ) );
116 static const double julian1970;
117 static const int secPerDay;
118 static const double inverseNano;
119 static const int inverseNanoInt;
120 static const long int maxInt;
129 long int m_tzseconds;
132 static TZOffset s_tz;
135 static time_t toBinary(
const std::string& strTime );
138 static void toString( time_t
bin, std::string& strTime );
string toString(const T &t)
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
std::string getString() const
Return string representation of time, not including nanoseconds;.
bool operator==(const Timestamp &other) const
bool operator!=(const Timestamp &other) const
bool operator>=(const Timestamp &other) const
bool operator<(const Timestamp &other) const
double getJulian() const
Return julian date.
long int getClibTime() const
Timestamp & operator=(const Timestamp &other)
bool operator>(const Timestamp &other) const
bool operator<=(const Timestamp &other) const
int m_nano
Save fractional seconds separately (associated with m_time).
time_t m_time
internal binary rep of time; count seconds from Jan 1, 1970