Lines Matching refs:hour
167 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond)
180 return !hour && !minute && !second && !millisecond;
260 int hour = m_hour + carry;
261 if (hour > 23) {
262 carry = hour / 24;
263 hour = hour % 24;
264 } else if (hour < 0) {
265 carry = (23 - hour) / 24;
266 hour += carry * 24;
268 ASSERT(hour >= 0 && hour <= 23);
270 if (!withinHTMLDateLimits(m_year, m_month, m_monthDay, hour, minute, m_second, m_millisecond))
273 m_hour = hour;
278 if (!withinHTMLDateLimits(m_year, m_month, m_monthDay, hour, minute, m_second, m_millisecond))
281 m_hour = hour;
285 // Parses a timezone part, and adjust year, month, monthDay, hour, minute, second, millisecond.
305 int hour;
307 if (!toInt(src, length, index, 2, hour) || hour < 0 || hour > 23)
320 hour = -hour;
325 if (!addMinute(-(hour * 60 + minute)))
408 int hour;
409 if (!toInt(src, length, start, 2, hour) || hour < 0 || hour > 23)
451 m_hour = hour;