Home | History | Annotate | Download | only in util

Lines Matching refs:Hour

34  * year, hh the hour of day and mm the minute of hour. For instance,
83 * - Corrected lack of lengthen or shorten of minute & hour
359 {COEF, 1}, /* 20 1 hour units */
364 {COEF, 1}, /* 25 10 hour tens */
518 int HourTone = 1500; /* WWV hour on-time frequency */
583 int Hour;
781 case 'o': /* Set IEEE 1344 time offset in hours - positive or negative, to the half hour */
857 &Hour, &Minute, &Second);
1076 Hour = TimeStructure->tm_hour;
1089 StraightBinarySeconds = Second + (Minute * SECONDS_PER_MINUTE) + (Hour * SECONDS_PER_HOUR);
1100 printf(" Year = %02d, Day of year = %03d, Time = %02d:%02d:%02d, Minute tone = %d Hz, Hour tone = %d Hz.\n",
1101 Year, DayOfYear, Hour, Minute, Second, tone, HourTone);
1103 Year / 10, DayOfYear, Hour, Minute, Year % 10);
1107 Year, DayOfYear, Hour, Minute, Second, code);
1129 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
1162 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
1210 if ((Year == LeapYear) && (DayOfYear == LeapDayOfYear) && (Hour == LeapHour) && (Minute == LeapMinute))
1275 Hour++;
1280 /* which translates to going backward an hour (repeating the last hour). */
1282 /* which translates to going forward an hour (skipping the next hour). */
1286 if ((Year == DstSwitchYear) && (DayOfYear == DstSwitchDayOfYear) && (Hour == DstSwitchHour) && (Minute == DstSwitchMinute))
1289 { /* DST flag is zero, not in DST, going to DST, "spring ahead", so increment hour by two instead of one. */
1290 Hour++;
1294 /* Here we have to increase offset by one hour. If it goes from negative to positive, then we fix that. */
1317 printf ("\n<--- DST activated, spring ahead an hour, new offset !...\n");
1320 { /* DST flag is non zero, in DST, going out of DST, "fall back", so no increment of hour. */
1321 Hour--;
1325 /* Here we have to reduce offset by one hour. If it goes negative, then we fix that. */
1348 printf ("\n<--- DST de-activated, fall back an hour!...\n");
1355 if (Hour >= 24) {
1357 Hour = Hour % 24;
1377 DayOfYear, Hour, Minute, Year % 10);
1380 Year, DayOfYear, Hour, Minute, Second, code);
1401 if ((Year == LeapYear) && (DayOfYear == LeapDayOfYear) && (Hour == LeapHour) && (Minute == LeapMinute))
1415 (Hour == DstSwitchPendingHour) && (Minute == DstSwitchPendingMinute))
1425 StraightBinarySeconds = Second + (Minute * SECONDS_PER_MINUTE) + (Hour * SECONDS_PER_HOUR);
1448 0, Year, DayOfYear, Hour, Minute, Second);
1454 DayOfYear, Hour, Minute, Second);
1459 0, DayOfYear, Hour, Minute, Second);
1514 Hour, Minute, Second);
1521 Hour, Minute, Second);
2473 printf ( "\n -o time_offset Set IEEE 1344 time offset, +/-, to 0.5 hour (default 0)");