Lines Matching refs:hour
94 { "hour", HOURS,0 }, /* hours ... */
388 int hour, minute = 0;
391 hour = atoi(sc_token);
405 minute = hour%100;
408 hour = hour/100;
416 if (hour > 12)
420 if (hour != 12) /* 12:xx PM is 12:xx, not 24:xx */
421 hour += 12;
423 if (hour == 12) /* 12:xx AM is 00:xx, not 12:xx */
424 hour = 0;
430 hour += tm->tm_gmtoff/(60*60);
431 while (hour < 0)
432 hour += 24;
440 if (hour > 23)
451 ((tm->tm_hour > hour) || ((tm->tm_hour == hour) && (tm->tm_min >= minute)))) {
456 tm->tm_hour = hour;
702 * set our runtime to that hour before leaping into the