Lines Matching refs:LEAP
19 * a leap second in UTC. Note however, the ultimate accuracy is limited
35 * 1946Z on 1 January 2006 is 060011946. The l option lights the leap
37 * behavior at the next leap second epoch. The remaining options are
45 * left to right. For WWV/H The leap warning L preceeds the first bit.
178 * - Added leap second pending and DST change pending into IEEE 1344.
183 * - Added leap second addition and deletion.
325 #define LEAP (4) /* leap warning */
342 {LEAP, 0}, /* 3 leap warning */
399 {DATA, DATA0}, /* 60 leap */
520 int leap = 0; /* leap indicator */
616 /* Flags to indicate requested leap second addition or deletion by command line option. */
621 /* Date and time of requested leap second addition or deletion. */
629 /* State flag for the insertion and deletion of leap seconds, esp. deletion, */
633 /* Flags for indication of leap second pending and leap secod polarity in IEEE 1344 */
708 case 'b': /* Remove (delete) a leap second at the end of the specified minute. */
740 case 'i': /* Insert (add) a leap second at the end of the specified minute. */
829 case 's': /* set leap warning bit (WWV/H only) */
830 leap++;
881 printf ("\nHave request for leap second %s at year %4d day %3d at %2.2dh%2.2d....\n",\
1209 /* If on the second of a leap (second 59 in the specified minute), then add or delete a second */
1218 printf ("\n<--- Ready to delete a leap second...\n");
1228 printf ("\n<--- Ready to insert a leap second...\n");
1245 printf ("\n<--- Deleting a leap second...\n");
1253 printf ("\n<--- Inserting a leap second...\n");
1261 printf ("\n<--- Inserted a leap second, now back to zero...\n");
1362 * At year rollover check for leap second.
1365 if (leap) {
1369 leap = 0;
1399 /* After all that, if we are in the minute just prior to a leap second, warn of leap second pending */
1880 case LEAP: /* send leap bit */
1881 if (leap) {
2405 /* NB: have to add 1 to days in February in a leap year! */
2426 printf ("\nConvertMonthDayToDayOfYear(): Year %d %s a leap year.\n", YearValue+2000, LeapYear ? "is" : "is not");
2437 /* Add a day for leap years where we are past February. */
2459 printf ( "\n -b yymmddhhmm Remove leap second at end of minute specified");
2469 printf ( "\n -i yymmddhhmm Insert leap second at end of minute specified");
2476 printf ( "\n -s Set leap warning bit (WWV[H] only)");