*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nabstime.h,v 1.7 1997/04/02 18:32:39 scrappy Exp $
+ * $Id: nabstime.h,v 1.8 1997/06/23 14:58:51 thomas Exp $
*
*-------------------------------------------------------------------------
*/
#define getSystemTime() \
((time_t) (time(0l)))
-#define SECS(n) ((time_t)(n))
-#define MINS(n) ((time_t)(n) * SECS(60))
-#define HOURS(n) ((time_t)(n) * MINS(60)) /* 3600 secs */
-#define DAYS(n) ((time_t)(n) * HOURS(24)) /* 86400 secs */
-/* months and years are not constant length, must be specially dealt with */
-
/*
* nabstime.c prototypes
extern bool AbsoluteTimeIsAfter(AbsoluteTime time1, AbsoluteTime time2);
extern AbsoluteTime tm2abstime(struct tm *tm, int tz);
-extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm *tm);
-
-extern AbsoluteTime dateconv(struct tm *tm, int zone);
-extern time_t qmktime(struct tm *tp);
+extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm *tm, char *tzn);
#endif /* NABSTIME_H */