Home | History | Annotate | Download | only in html

Lines Matching refs:hour

169 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond)
182 return !hour && !minute && !second && !millisecond;
262 int hour = m_hour + carry;
263 if (hour > 23) {
264 carry = hour / 24;
265 hour = hour % 24;
266 } else if (hour < 0) {
267 carry = (23 - hour) / 24;
268 hour += carry * 24;
270 ASSERT(hour >= 0 && hour <= 23);
272 if (!withinHTMLDateLimits(m_year, m_month, m_monthDay, hour, minute, m_second, m_millisecond))
275 m_hour = hour;
280 if (!withinHTMLDateLimits(m_year, m_month, m_monthDay, hour, minute, m_second, m_millisecond))
283 m_hour = hour;
287 // Parses a timezone part, and adjust year, month, monthDay, hour, minute, second, millisecond.
307 int hour;
309 if (!toInt(src, length, index, 2, hour) || hour < 0 || hour > 23)
322 hour = -hour;
327 if (!addMinute(-(hour * 60 + minute)))
410 int hour;
411 if (!toInt(src, length, start, 2, hour) || hour < 0 || hour > 23)
453 m_hour = hour;