2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
25 printf("ktest: usage is 'ktest <periodic date to evaluate>'\n");
29 code = ktime_ParsePeriodic(argv[1], &ttime);
31 printf("got error code %d from ParsePeriodic.\n", code);
35 ntime = ktime_next(&ttime, 0);
37 printf("time is %d, %s", ntime, ctime(&t));