9 date 92.05.12.22.08.28; author jromine; state Exp;
14 date 90.04.05.15.06.49; author sources; state Exp;
19 date 90.02.23.10.33.22; author sources; state Exp;
24 date 90.02.23.10.33.04; author sources; state Exp;
39 /* @@(#)$Id: tws.h,v 1.3 1990/04/05 15:06:49 sources Exp jromine $ */
42 /* DST vs. GMT nonsense */
61 #define TW_NULL 0x0000
62 #define TW_SDAY 0x0003 /* how day-of-week was determined */
63 #define TW_SNIL 0x0000 /* not given */
64 #define TW_SEXP 0x0001 /* explicitly given */
65 #define TW_SIMP 0x0002 /* implicitly given */
66 #define TW_SZONE 0x0004 /* how timezone was determined */
67 #define TW_SZNIL 0x0000 /* not given */
68 #define TW_SZEXP 0x0004 /* explicitly given */
69 #define TW_DST 0x0010 /* daylight savings time */
70 #define TW_ZONE 0x0020 /* use numeric timezones only */
76 char *dasctime (), *dtimezone (), *dctime (), *dtimenow ();
77 struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime ();
80 #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE)
82 #define dtime(cl) dasctime (dlocaltime (cl), TW_NULL)
84 #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags)
87 extern char *tw_dotw[], *tw_ldotw[], *tw_moty[];
110 @Fixes from Van Jacobson
124 #define TW_SDAY 0x0007 /* how day-of-week was determined */