1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-06 23:12:33 +00:00

documentation

SCCS-file: tzfile.h
SCCS-SID: 1.7
This commit is contained in:
Arthur David Olson
1986-02-15 17:44:41 -05:00
committed by Paul Eggert
parent 718b7a67a3
commit 29e8388b2d

View File

@ -12,8 +12,8 @@
#define TZDEFAULT "localtime" #define TZDEFAULT "localtime"
#endif #endif
#ifndef TZ_MAX_RULES #ifndef TZ_MAX_TIMES
#define TZ_MAX_RULES 170 /* Maximum number of rules */ #define TZ_MAX_TIMES 170 /* Maximum number of transition times */
#endif #endif
#ifndef TZ_MAX_TYPES #ifndef TZ_MAX_TYPES
@ -31,9 +31,9 @@ struct dsinfo {
}; };
struct tzinfo { struct tzinfo {
int tz_rulecnt; /* Number of rules used */ int tz_timecnt; /* Number of entries used */
long tz_times[TZ_MAX_RULES]; /* Times when rules kick in */ long tz_times[TZ_MAX_TIMES]; /* Saving Time transition times */
char tz_types[TZ_MAX_RULES]; /* Saving Time types for the above */ char tz_types[TZ_MAX_TIMES]; /* Saving Time types for the above */
struct dsinfo tz_dsinfo[TZ_MAX_TYPES]; struct dsinfo tz_dsinfo[TZ_MAX_TYPES];
/* See above */ /* See above */
}; };