120 _hours(hh), _minutes(mm), _seconds(0), _gmt(gmt)
122 _sec_since_midnight = compute_ssm(hh, mm, 0);
125 throw Error(malformed_expr, time_syntax_string);
130 _hours(hh), _minutes(mm), _seconds(ss), _gmt(gmt)
132 _sec_since_midnight = compute_ssm(hh, mm, ss);
135 throw Error(malformed_expr, time_syntax_string);
143 istringstream iss(time.c_str());
148 pos1 = time.find(
":");
150 if (pos1 != time.npos) {
155 pos2 = time.rfind(
":");
156 if ((pos2 != time.npos) && (pos1 != pos2)) {
167 _sec_since_midnight = compute_ssm(_hours, _minutes, _seconds);
171 if (
gmt ==
"GMT" ||
gmt ==
"gmt" ||
gmt ==
"UTC"
179 throw Error(malformed_expr, time_syntax_string);