30 #ifndef __AGG_UTIL__SIMPLE_TIME_PARSER_H__
31 #define __AGG_UTIL__SIMPLE_TIME_PARSER_H__
94 static void initParseTable();
97 static const long _sSecsInMin;
98 static const long _sSecsInHour;
99 static const long _sSecsInDay;
100 static const long _sSecsInWeek;
101 static const long _sSecsInMonth;
102 static const long _sSecsInYear;
104 static std::map< std::string, long > _sParseTable;
105 static bool _sInited;
Helper class for temporarily hijacking an existing dhi to load a DDX response for one particular file...
static bool parseIntoSeconds(long &seconds, const std::string &duration)
Parse the string in duration and to calculate the (approximate) number of seconds it represents...
Helper class to parse in very simple string specifications of times and return it as an (approximate)...